mirror of
https://github.com/python/cpython.git
synced 2025-07-26 20:54:39 +00:00
Make pythoncore compile cleanly with VisualStudio 2005. Used an explicit typecast to get a 64 bit integer, and undefined the Yield macro that conflicts with winbase.h
This commit is contained in:
parent
17b8e97e2e
commit
67387fb4aa
3 changed files with 4 additions and 2 deletions
|
@ -4,6 +4,7 @@
|
|||
#include "Python.h"
|
||||
|
||||
#include "Python-ast.h"
|
||||
#undef Yield /* undefine macro conflicting with winbase.h */
|
||||
#include "grammar.h"
|
||||
#include "node.h"
|
||||
#include "token.h"
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue