diff options
author | Tom Lane | 2006-10-24 15:11:03 +0000 |
---|---|---|
committer | Tom Lane | 2006-10-24 15:11:03 +0000 |
commit | d8221dfa6d5d7643f4cfd23b0f576a1eaf177f89 (patch) | |
tree | 009dbb3d233c9eab5592b4555c859407d453f502 | |
parent | 9601745d35c869e47b334f4b719a6935780f0774 (diff) |
Tweak zic.c to compile cleanly on MSVC: use CopyFile instead of
CopyFileEx. This avoids a warning about the function not being
present on older Windows versions. Magnus Hagander
-rw-r--r-- | src/timezone/zic.c | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/src/timezone/zic.c b/src/timezone/zic.c index f949f08784..0f272e8d6e 100644 --- a/src/timezone/zic.c +++ b/src/timezone/zic.c @@ -3,7 +3,7 @@ * 1996-06-05 by Arthur David Olson ([email protected]). * * IDENTIFICATION - * $PostgreSQL: pgsql/src/timezone/zic.c,v 1.18 2006/10/19 20:38:48 tgl Exp $ + * $PostgreSQL: pgsql/src/timezone/zic.c,v 1.19 2006/10/24 15:11:03 tgl Exp $ */ #include "postgres.h" @@ -2383,7 +2383,7 @@ eitol(int i) int link(const char *oldpath, const char *newpath) { - if (!CopyFileEx(oldpath, newpath, NULL, NULL, FALSE, 0)) + if (!CopyFile(oldpath, newpath, FALSE)) return -1; return 0; } |