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:
Kristján Valur Jónsson 2007-04-25 00:17:39 +00:00
parent 17b8e97e2e
commit 67387fb4aa
3 changed files with 4 additions and 2 deletions

View file

@ -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"