summaryrefslogtreecommitdiff
path: root/Python/pythonrun.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
commit2bd31ad3f08c87a5e3fc6de1b4affa3083aad268 (patch)
tree58330d0268d1f352c3d776d2402efa7a0512d689 /Python/pythonrun.c
parenta408b4c21521acf9fe9937863ef23eb3fa6246da (diff)
downloadcpython-2bd31ad3f08c87a5e3fc6de1b4affa3083aad268.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/pythonrun.c')
-rw-r--r--Python/pythonrun.c1
1 files changed, 1 insertions, 0 deletions
diff --git a/Python/pythonrun.c b/Python/pythonrun.c
index 3e5ecfe3f6..96602ff15b 100644
--- a/Python/pythonrun.c
+++ b/Python/pythonrun.c
@@ -4,6 +4,7 @@
#include "Python.h"
#include "Python-ast.h"
+#undef Yield /* undefine macro conflicting with winbase.h */
#include "grammar.h"
#include "node.h"
#include "token.h"