Issue 9445: Fix undefined symbols on VS8.0 build.
authorRaymond Hettinger <python@rcn.com>
Sun, 1 Aug 2010 21:10:35 +0000 (21:10 +0000)
committerRaymond Hettinger <python@rcn.com>
Sun, 1 Aug 2010 21:10:35 +0000 (21:10 +0000)
Modules/posixmodule.c

index 63172787ebbe31649ab83ab4c5b946bad7085134..0b14f5cc22b3e7111bf085c466a98235ed10acd9 100644 (file)
@@ -262,6 +262,15 @@ extern int lstat(const char *, struct stat *);
 #ifdef HAVE_PROCESS_H
 #include <process.h>
 #endif
+#ifndef VOLUME_NAME_DOS
+#define VOLUME_NAME_DOS        0x0
+#endif
+#ifndef VOLUME_NAME_NT
+#define VOLUME_NAME_NT 0x2
+#endif
+#ifndef IO_REPARSE_TAG_SYMLINK
+#define IO_REPARSE_TAG_SYMLINK (0xA000000CL)
+#endif
 #include "osdefs.h"
 #include <malloc.h>
 #include <windows.h>