diff options
| author | Kristján Valur Jónsson <kristjan@ccpgames.com> | 2007-05-02 16:02:48 (GMT) |
|---|---|---|
| committer | Kristján Valur Jónsson <kristjan@ccpgames.com> | 2007-05-02 16:02:48 (GMT) |
| commit | 00b0a9e5b2aac53db0c8c12e90b5537cd648043f (patch) | |
| tree | efc97268836fb01ee3666ccca544a2516a94a1eb /Python/pythonrun.c | |
| parent | 55d53f0367fb4294e326a43de94334b567ae3e27 (diff) | |
| download | cpython-00b0a9e5b2aac53db0c8c12e90b5537cd648043f.zip cpython-00b0a9e5b2aac53db0c8c12e90b5537cd648043f.tar.gz cpython-00b0a9e5b2aac53db0c8c12e90b5537cd648043f.tar.bz2 | |
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.c | 2 |
1 files changed, 2 insertions, 0 deletions
diff --git a/Python/pythonrun.c b/Python/pythonrun.c index 75241fe..d434d50 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" |
