diff Python/pythonrun.c @ 41526:708c8c5fc173 legacy-trunk

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
author Kristján Valur Jónsson <kristjan@ccpgames.com>
date Wed, 25 Apr 2007 00:17:39 +0000
parents 45ce388ec59a
children 4417ab5b351e
line wrap: on
line diff
--- a/Python/pythonrun.c	Wed Apr 25 00:10:50 2007 +0000
+++ b/Python/pythonrun.c	Wed Apr 25 00:17:39 2007 +0000
@@ -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"