From 6f4f8c7fe1dbaabe117ff6a6bdcf6efd1cc08f48 Mon Sep 17 00:00:00 2001 From: Jack Jansen Date: Tue, 18 Dec 2001 15:48:28 +0000 Subject: [PATCH] Small change to allow for generation of QuickTime module for Windows. --- Tools/bgen/bgen/macsupport.py | 4 ++++ 1 file changed, 4 insertions(+) diff --git a/Tools/bgen/bgen/macsupport.py b/Tools/bgen/bgen/macsupport.py index 83018641eb9..b02e00be381 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 ) {\\