From: Raymond Hettinger Date: Sun, 1 Aug 2010 21:10:35 +0000 (+0000) Subject: Issue 9445: Fix undefined symbols on VS8.0 build. X-Git-Tag: v3.2a2~555 X-Git-Url: http://git.ipfire.org/gitweb.cgi?a=commitdiff_plain;h=0291c9ffa2fb6e2836f0749cc8d685503db9da3a;p=thirdparty%2FPython%2Fcpython.git Issue 9445: Fix undefined symbols on VS8.0 build. --- diff --git a/Modules/posixmodule.c b/Modules/posixmodule.c index 63172787ebbe..0b14f5cc22b3 100644 --- a/Modules/posixmodule.c +++ b/Modules/posixmodule.c @@ -262,6 +262,15 @@ extern int lstat(const char *, struct stat *); #ifdef HAVE_PROCESS_H #include #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 #include