diff options
| author | Jack Jansen <jack.jansen@cwi.nl> | 2001-12-18 15:48:28 +0000 |
|---|---|---|
| committer | Jack Jansen <jack.jansen@cwi.nl> | 2001-12-18 15:48:28 +0000 |
| commit | 6f4f8c7fe1dbaabe117ff6a6bdcf6efd1cc08f48 (patch) | |
| tree | 3b0236f8ae50ac420ed7c1b60bc097ebdec66012 /Tools | |
| parent | 620a7667ebb2ebd31a22349c20e66bad3a8980f9 (diff) | |
| download | cpython-git-6f4f8c7fe1dbaabe117ff6a6bdcf6efd1cc08f48.tar.gz | |
Small change to allow for generation of QuickTime module for Windows.
Diffstat (limited to 'Tools')
| -rw-r--r-- | Tools/bgen/bgen/macsupport.py | 4 |
1 files changed, 4 insertions, 0 deletions
diff --git a/Tools/bgen/bgen/macsupport.py b/Tools/bgen/bgen/macsupport.py index 83018641eb..b02e00be38 100644 --- a/Tools/bgen/bgen/macsupport.py +++ b/Tools/bgen/bgen/macsupport.py @@ -116,8 +116,12 @@ VarVarOutBuffer = VarVarHeapOutputBufferType('char', 'long', 'l') # (buf, len, & # Stuff added immediately after the system include files includestuff = """ +#ifdef _WIN32 +#include "pywintoolbox.h" +#else #include "macglue.h" #include "pymactoolbox.h" +#endif /* Macro to test whether a weak-loaded CFM function exists */ #define PyMac_PRECHECK(rtn) do { if ( &rtn == NULL ) {\\ |
