From: Jack Jansen Date: Tue, 18 Dec 2001 15:48:28 +0000 (+0000) Subject: Small change to allow for generation of QuickTime module for Windows. X-Git-Tag: v2.2.1c1~317 X-Git-Url: https://granicus.if.org/sourcecode?a=commitdiff_plain;h=6f4f8c7fe1dbaabe117ff6a6bdcf6efd1cc08f48;p=python Small change to allow for generation of QuickTime module for Windows. --- 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 ) {\\