summaryrefslogtreecommitdiff
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.h5
1 files changed, 3 insertions, 2 deletions
diff --git a/src/include/port/win32.h b/src/include/port/win32.h
index f93058edc07..3a5df0eac84 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.4.1 2005/03/17 17:28:59 momjian Exp $ */
+/* $PostgreSQL: pgsql/src/include/port/win32.h,v 1.42.4.2 2005/03/24 04:37:01 momjian Exp $ */
/* undefine and redefine after #include */
#undef mkdir
@@ -17,6 +17,7 @@
#define fsync(a) _commit(a)
+#define FSYNC_IS_WRITE_THROUGH
#define ftruncate(a,b) chsize(a,b)
#define USES_WINSOCK
@@ -189,7 +190,7 @@ typedef int pid_t;
* to ensure that we don't collide with a future definition. It means
* we cannot use _O_NOINHERIT ourselves.
*/
-#define O_SYNC 0x0080
+#define O_DSYNC 0x0080
/*
* Supplement to <errno.h>.