summaryrefslogtreecommitdiff
path: root/deps/uv/include/uv-win.h
diff options
context:
space:
mode:
Diffstat (limited to 'deps/uv/include/uv-win.h')
-rw-r--r--deps/uv/include/uv-win.h8
1 files changed, 4 insertions, 4 deletions
diff --git a/deps/uv/include/uv-win.h b/deps/uv/include/uv-win.h
index be150fc482..b96bed22ac 100644
--- a/deps/uv/include/uv-win.h
+++ b/deps/uv/include/uv-win.h
@@ -664,13 +664,13 @@ RB_HEAD(uv_timer_tree_s, uv_timer_s);
#define UV_FS_O_WRONLY _O_WRONLY
/* fs open() flags supported on other platforms (or mapped on this platform): */
-#define UV_FS_O_DIRECT 0x2000000 /* FILE_FLAG_NO_BUFFERING */
+#define UV_FS_O_DIRECT 0x02000000 /* FILE_FLAG_NO_BUFFERING */
#define UV_FS_O_DIRECTORY 0
-#define UV_FS_O_DSYNC 0x4000000 /* FILE_FLAG_WRITE_THROUGH */
-#define UV_FS_O_EXLOCK 0
+#define UV_FS_O_DSYNC 0x04000000 /* FILE_FLAG_WRITE_THROUGH */
+#define UV_FS_O_EXLOCK 0x10000000 /* EXCLUSIVE SHARING MODE */
#define UV_FS_O_NOATIME 0
#define UV_FS_O_NOCTTY 0
#define UV_FS_O_NOFOLLOW 0
#define UV_FS_O_NONBLOCK 0
#define UV_FS_O_SYMLINK 0
-#define UV_FS_O_SYNC 0x8000000 /* FILE_FLAG_WRITE_THROUGH */
+#define UV_FS_O_SYNC 0x08000000 /* FILE_FLAG_WRITE_THROUGH */