diff options
author | Kristján Valur Jónsson <kristjan@ccpgames.com> | 2007-04-25 00:17:39 +0000 |
---|---|---|
committer | Kristján Valur Jónsson <kristjan@ccpgames.com> | 2007-04-25 00:17:39 +0000 |
commit | 67387fb4aadbbe1dbb498398b0786ca01d92552e (patch) | |
tree | c300a2253ea35fcd0973a9e8a668481ab956dfeb /Python/import.c | |
parent | 17b8e97e2e2c24322d45c33308212e0d6c32d934 (diff) | |
download | cpython-git-67387fb4aadbbe1dbb498398b0786ca01d92552e.tar.gz |
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
Diffstat (limited to 'Python/import.c')
-rw-r--r-- | Python/import.c | 1 |
1 files changed, 1 insertions, 0 deletions
diff --git a/Python/import.c b/Python/import.c index 9151762081..383b6b20b1 100644 --- a/Python/import.c +++ b/Python/import.c @@ -4,6 +4,7 @@ #include "Python.h" #include "Python-ast.h" +#undef Yield /* undefine macro conflicting with winbase.h */ #include "pyarena.h" #include "pythonrun.h" #include "errcode.h" |