diff Python/import.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 894691ca4835
children 0635a6ca1980
line wrap: on
line diff
--- a/Python/import.c	Wed Apr 25 00:10:50 2007 +0000
+++ b/Python/import.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 "pyarena.h"
 #include "pythonrun.h"
 #include "errcode.h"