From 67387fb4aadbbe1dbb498398b0786ca01d92552e Mon Sep 17 00:00:00 2001 From: Kristján Valur Jónsson Date: Wed, 25 Apr 2007 00:17:39 +0000 Subject: 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 --- Python/pythonrun.c | 1 + 1 file changed, 1 insertion(+) (limited to 'Python/pythonrun.c') diff --git a/Python/pythonrun.c b/Python/pythonrun.c index 3e5ecfe3f62..96602ff15b5 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" -- cgit v1.2.3