summaryrefslogtreecommitdiff
path: root/src/interfaces/libpq/win32.h
diff options
context:
space:
mode:
authorBruce Momjian2004-03-24 03:54:16 +0000
committerBruce Momjian2004-03-24 03:54:16 +0000
commitb8fd6756e28a27224c90d3e82ce9dc93af5951c2 (patch)
tree12bd13779d0f476cfab62d678a821b20a069cf9f /src/interfaces/libpq/win32.h
parentd6bc5944a06a322a36800cedd46f0bb4922a6332 (diff)
Allow unlink/rename of files open by another process on Win32, using a
special Win32 open flag FILE_SHARE_DELETE. Claudio Natoli
Diffstat (limited to 'src/interfaces/libpq/win32.h')
-rw-r--r--src/interfaces/libpq/win32.h2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/interfaces/libpq/win32.h b/src/interfaces/libpq/win32.h
index 468e786dccc..9d4557fc0d5 100644
--- a/src/interfaces/libpq/win32.h
+++ b/src/interfaces/libpq/win32.h
@@ -16,7 +16,7 @@
#define _strnicmp(a,b,c) strnicmp(a,b,c)
#define _errno errno
#else
-#define open(a,b,c) _open(a,b,c)
+/* open provided elsewhere */
#define close(a) _close(a)
#define read(a,b,c) _read(a,b,c)
#define write(a,b,c) _write(a,b,c)