From 0291c9ffa2fb6e2836f0749cc8d685503db9da3a Mon Sep 17 00:00:00 2001 From: Raymond Hettinger Date: Sun, 1 Aug 2010 21:10:35 +0000 Subject: Issue 9445: Fix undefined symbols on VS8.0 build. --- Modules/posixmodule.c | 9 +++++++++ 1 file changed, 9 insertions(+) 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 #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 -- cgit v0.12