aboutsummaryrefslogtreecommitdiff
path: root/src/include/port/win32.h
diff options
context:
space:
mode:
Diffstat (limited to 'src/include/port/win32.h')
-rw-r--r--src/include/port/win32.h10
1 files changed, 9 insertions, 1 deletions
diff --git a/src/include/port/win32.h b/src/include/port/win32.h
index 9049fb4327f..c3c7da737bc 100644
--- a/src/include/port/win32.h
+++ b/src/include/port/win32.h
@@ -1,4 +1,4 @@
-/* $PostgreSQL: pgsql/src/include/port/win32.h,v 1.42 2004/12/26 19:20:33 tgl Exp $ */
+/* $PostgreSQL: pgsql/src/include/port/win32.h,v 1.43 2005/02/27 00:53:29 momjian Exp $ */
/* undefine and redefine after #include */
#undef mkdir
@@ -184,6 +184,14 @@ typedef int pid_t;
#define lstat(path, sb) stat((path), (sb))
/*
+ * Supplement to <fcntl.h>.
+ * This is the same value as _O_NOINHERIT in the MS header file. This is
+ * to ensure that we don't collide with a future definition. It means
+ * we cannot use _O_NOINHERIT ourselves.
+ */
+#define O_SYNC 0x0080
+
+/*
* Supplement to <errno.h>.
*/
#undef EAGAIN