summaryrefslogtreecommitdiff
path: root/Python/pythonrun.c
diff options
context:
space:
mode:
authorKristján Valur Jónsson <kristjan@ccpgames.com>2007-05-02 16:02:48 +0000
committerKristján Valur Jónsson <kristjan@ccpgames.com>2007-05-02 16:02:48 +0000
commit00b0a9e5b2aac53db0c8c12e90b5537cd648043f (patch)
treeefc97268836fb01ee3666ccca544a2516a94a1eb /Python/pythonrun.c
parent55d53f0367fb4294e326a43de94334b567ae3e27 (diff)
downloadcpython-git-00b0a9e5b2aac53db0c8c12e90b5537cd648043f.tar.gz
Undefine the Yield macro after including Python_ast.h where it may cause conflicts with winbase.h on Windows.
Diffstat (limited to 'Python/pythonrun.c')
-rw-r--r--Python/pythonrun.c2
1 files changed, 2 insertions, 0 deletions
diff --git a/Python/pythonrun.c b/Python/pythonrun.c
index 75241fe915..d434d50b4f 100644
--- a/Python/pythonrun.c
+++ b/Python/pythonrun.c
@@ -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"