Undefine the Yield macro after including Python_ast.h where it may cause...

Undefine the Yield macro after including Python_ast.h where it may cause conflicts with winbase.h on Windows.
parent 273314d6
......@@ -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"
......
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment