summaryrefslogtreecommitdiffstats
path: root/Tools
diff options
context:
space:
mode:
authorJack Jansen <jack.jansen@cwi.nl>2001-12-18 15:48:28 (GMT)
committerJack Jansen <jack.jansen@cwi.nl>2001-12-18 15:48:28 (GMT)
commit6f4f8c7fe1dbaabe117ff6a6bdcf6efd1cc08f48 (patch)
tree3b0236f8ae50ac420ed7c1b60bc097ebdec66012 /Tools
parent620a7667ebb2ebd31a22349c20e66bad3a8980f9 (diff)
downloadcpython-6f4f8c7fe1dbaabe117ff6a6bdcf6efd1cc08f48.zip
cpython-6f4f8c7fe1dbaabe117ff6a6bdcf6efd1cc08f48.tar.gz
cpython-6f4f8c7fe1dbaabe117ff6a6bdcf6efd1cc08f48.tar.bz2
Small change to allow for generation of QuickTime module for Windows.
Diffstat (limited to 'Tools')
-rw-r--r--Tools/bgen/bgen/macsupport.py4
1 files changed, 4 insertions, 0 deletions
diff --git a/Tools/bgen/bgen/macsupport.py b/Tools/bgen/bgen/macsupport.py
index 8301864..b02e00b 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 ) {\\