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 | 2bd31ad3f08c87a5e3fc6de1b4affa3083aad268 (patch) | |
| tree | 58330d0268d1f352c3d776d2402efa7a0512d689 /Python/pythonrun.c | |
| parent | a408b4c21521acf9fe9937863ef23eb3fa6246da (diff) | |
| download | cpython-2bd31ad3f08c87a5e3fc6de1b4affa3083aad268.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/pythonrun.c')
| -rw-r--r-- | Python/pythonrun.c | 1 |
1 files changed, 1 insertions, 0 deletions
diff --git a/Python/pythonrun.c b/Python/pythonrun.c index 3e5ecfe3f6..96602ff15b 100644 --- a/Python/pythonrun.c +++ b/Python/pythonrun.c @@ -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" |
