summaryrefslogtreecommitdiff
path: root/Python/import.c
diff options
context:
space:
mode:
authorKristján Valur Jónsson <kristjan@ccpgames.com>2007-04-25 00:17:39 +0000
committerKristján Valur Jónsson <kristjan@ccpgames.com>2007-04-25 00:17:39 +0000
commit67387fb4aadbbe1dbb498398b0786ca01d92552e (patch)
treec300a2253ea35fcd0973a9e8a668481ab956dfeb /Python/import.c
parent17b8e97e2e2c24322d45c33308212e0d6c32d934 (diff)
downloadcpython-git-67387fb4aadbbe1dbb498398b0786ca01d92552e.tar.gz
Make pythoncore compile cleanly with VisualStudio 2005. Used an explicit typecast to get a 64 bit integer, and undefined the Yield macro that conflicts with winbase.h
Diffstat (limited to 'Python/import.c')
-rw-r--r--Python/import.c1
1 files changed, 1 insertions, 0 deletions
diff --git a/Python/import.c b/Python/import.c
index 9151762081..383b6b20b1 100644
--- a/Python/import.c
+++ b/Python/import.c
@@ -4,6 +4,7 @@
#include "Python.h"
#include "Python-ast.h"
+#undef Yield /* undefine macro conflicting with winbase.h */
#include "pyarena.h"
#include "pythonrun.h"
#include "errcode.h"