comparison 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
comparison
equal deleted inserted replaced
41525:b68272449df4 41526:708c8c5fc173
2 /* Python interpreter top-level routines, including init/exit */ 2 /* Python interpreter top-level routines, including init/exit */
3 3
4 #include "Python.h" 4 #include "Python.h"
5 5
6 #include "Python-ast.h" 6 #include "Python-ast.h"
7 #undef Yield /* undefine macro conflicting with winbase.h */
7 #include "grammar.h" 8 #include "grammar.h"
8 #include "node.h" 9 #include "node.h"
9 #include "token.h" 10 #include "token.h"
10 #include "parsetok.h" 11 #include "parsetok.h"
11 #include "errcode.h" 12 #include "errcode.h"