Commit 59ceb432f310de9f26b368ae1b8cdee395e52a50

Jacques Germishuys 2014-07-05T21:27:47

Define IO_REPARSE_TAG_SYMLINK if its not defined by WinNT.h

1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
diff --git a/src/win32/posix_w32.c b/src/win32/posix_w32.c
index fb82465..a74fcaa 100644
--- a/src/win32/posix_w32.c
+++ b/src/win32/posix_w32.c
@@ -19,6 +19,10 @@
 # define FILE_NAME_NORMALIZED 0
 #endif
 
+#ifndef IO_REPARSE_TAG_SYMLINK
+#define IO_REPARSE_TAG_SYMLINK (0xA000000CL)
+#endif
+
 /* Options which we always provide to _wopen.
  *
  * _O_BINARY - Raw access; no translation of CR or LF characters