projects
/
users
/
bernd
/
postgres.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
dbccc35
)
Tweak zic.c to compile cleanly on MSVC: use CopyFile instead of
author
Tom Lane
<
[email protected]
>
Tue, 24 Oct 2006 15:11:03 +0000
(15:11 +0000)
committer
Tom Lane
<
[email protected]
>
Tue, 24 Oct 2006 15:11:03 +0000
(15:11 +0000)
CopyFileEx. This avoids a warning about the function not being
present on older Windows versions. Magnus Hagander
src/timezone/zic.c
patch
|
blob
|
blame
|
history
diff --git
a/src/timezone/zic.c
b/src/timezone/zic.c
index 23bc2a14e72823ad740ddb81df51b894c873d216..33e094486bed4b5778af4c124a1406e7c8e8929b 100644
(file)
--- a/
src/timezone/zic.c
+++ b/
src/timezone/zic.c
@@
-2383,7
+2383,7
@@
eitol(int i)
int
link(const char *oldpath, const char *newpath)
{
- if (!CopyFile
Ex(oldpath, newpath, NULL, NULL, FALSE, 0
))
+ if (!CopyFile
(oldpath, newpath, FALSE
))
return -1;
return 0;
}