Mercurial > cpython-lru_cache-weakref
comparison 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 |
comparison
equal
deleted
inserted
replaced
| 41572:e50d82c418a7 | 41573:a3bf55a03f66 |
|---|---|
| 2 /* Python interpreter top-level routines, including init/exit */ | 2 /* Python interpreter top-level routines, including init/exit */ |
| 3 | 3 |
| 4 #include "Python.h" | 4 #include "Python.h" |
| 5 | 5 |
| 6 #include "Python-ast.h" | 6 #include "Python-ast.h" |
| 7 #undef Yield /* to avoid conflict with winbase.h */ | |
| 8 | |
| 7 #include "grammar.h" | 9 #include "grammar.h" |
| 8 #include "node.h" | 10 #include "node.h" |
| 9 #include "token.h" | 11 #include "token.h" |
| 10 #include "parsetok.h" | 12 #include "parsetok.h" |
| 11 #include "errcode.h" | 13 #include "errcode.h" |
