diff Python/pythonrun.c @ 41573:a3bf55a03f66 2.5

Undefine the Yield macro after including Python_ast.h where it may cause conflicts with winbase.h on Windows.
author Kristján Valur Jónsson <kristjan@ccpgames.com>
date Wed, 02 May 2007 16:02:48 +0000
parents 66f265ac4ec4
children 787b969d37f0
line wrap: on
line diff
--- a/Python/pythonrun.c	Wed May 02 15:55:14 2007 +0000
+++ b/Python/pythonrun.c	Wed May 02 16:02:48 2007 +0000
@@ -4,6 +4,8 @@
 #include "Python.h"
 
 #include "Python-ast.h"
+#undef Yield /* to avoid conflict with winbase.h */
+
 #include "grammar.h"
 #include "node.h"
 #include "token.h"