Thanks to visit codestin.com
Credit goes to github.com

Skip to content

Commit 6f4f8c7

Browse files
committed
Small change to allow for generation of QuickTime module for Windows.
1 parent 620a766 commit 6f4f8c7

1 file changed

Lines changed: 4 additions & 0 deletions

File tree

Tools/bgen/bgen/macsupport.py

Lines changed: 4 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -116,8 +116,12 @@ def errorCheck(self, name):
116116

117117
# Stuff added immediately after the system include files
118118
includestuff = """
119+
#ifdef _WIN32
120+
#include "pywintoolbox.h"
121+
#else
119122
#include "macglue.h"
120123
#include "pymactoolbox.h"
124+
#endif
121125
122126
/* Macro to test whether a weak-loaded CFM function exists */
123127
#define PyMac_PRECHECK(rtn) do { if ( &rtn == NULL ) {\\

0 commit comments

Comments
 (0)