commit | 00b0a9e5b2aac53db0c8c12e90b5537cd648043f | [log] [tgz] |
---|---|---|
author | Kristján Valur Jónsson <kristjan@ccpgames.com> | Wed May 02 16:02:48 2007 +0000 |
committer | Kristján Valur Jónsson <kristjan@ccpgames.com> | Wed May 02 16:02:48 2007 +0000 |
tree | efc97268836fb01ee3666ccca544a2516a94a1eb | |
parent | 55d53f0367fb4294e326a43de94334b567ae3e27 [diff] [blame] |
Undefine the Yield macro after including Python_ast.h where it may cause conflicts with winbase.h on Windows.
diff --git a/Python/import.c b/Python/import.c index 291e63d..b35dea1 100644 --- a/Python/import.c +++ b/Python/import.c
@@ -4,6 +4,8 @@ #include "Python.h" #include "Python-ast.h" +#undef Yield /* to avoid conflict with winbase.h */ + #include "pyarena.h" #include "pythonrun.h" #include "errcode.h"