]> granicus.if.org Git - python/commitdiff
Small change to allow for generation of QuickTime module for Windows.
authorJack Jansen <jack.jansen@cwi.nl>
Tue, 18 Dec 2001 15:48:28 +0000 (15:48 +0000)
committerJack Jansen <jack.jansen@cwi.nl>
Tue, 18 Dec 2001 15:48:28 +0000 (15:48 +0000)
Tools/bgen/bgen/macsupport.py

index 83018641eb9ab5841d6260d2ecf66d8137568b6e..b02e00be381dbf24ea28152ed686fa05ef179c33 100644 (file)
@@ -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 )  {\\