Undefine the Yield macro after including Python_ast.h where it may cause conflicts with winbase.h on Windows.
This commit is contained in:
parent
55d53f0367
commit
00b0a9e5b2
|
@ -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"
|
||||
|
|
|
@ -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"
|
||||
|
|
Loading…
Reference in New Issue