diff options
author | Raymond Hettinger <python@rcn.com> | 2010-08-01 21:10:35 (GMT) |
---|---|---|
committer | Raymond Hettinger <python@rcn.com> | 2010-08-01 21:10:35 (GMT) |
commit | 0291c9ffa2fb6e2836f0749cc8d685503db9da3a (patch) | |
tree | 057c66c484080357c99f9849ee16a9ad453645e1 | |
parent | 78eef3de8888ce3ec19529a7d780ad8281e672ea (diff) | |
download | cpython-0291c9ffa2fb6e2836f0749cc8d685503db9da3a.zip cpython-0291c9ffa2fb6e2836f0749cc8d685503db9da3a.tar.gz cpython-0291c9ffa2fb6e2836f0749cc8d685503db9da3a.tar.bz2 |
Issue 9445: Fix undefined symbols on VS8.0 build.
-rw-r--r-- | Modules/posixmodule.c | 9 |
1 files changed, 9 insertions, 0 deletions
diff --git a/Modules/posixmodule.c b/Modules/posixmodule.c index 6317278..0b14f5c 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 <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> |