mirror of
https://github.com/python/cpython.git
synced 2025-08-20 00:32:12 +00:00
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
2 changed files with 4 additions and 0 deletions
|
@ -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"
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue