mirror of
https://github.com/python/cpython.git
synced 2025-11-10 22:36:18 +00:00
Small change to allow for generation of QuickTime module for Windows.
This commit is contained in:
parent
620a7667eb
commit
6f4f8c7fe1
1 changed files with 4 additions and 0 deletions
|
|
@ -116,8 +116,12 @@ VarVarOutBuffer = VarVarHeapOutputBufferType('char', 'long', 'l') # (buf, len, &
|
||||||
|
|
||||||
# Stuff added immediately after the system include files
|
# Stuff added immediately after the system include files
|
||||||
includestuff = """
|
includestuff = """
|
||||||
|
#ifdef _WIN32
|
||||||
|
#include "pywintoolbox.h"
|
||||||
|
#else
|
||||||
#include "macglue.h"
|
#include "macglue.h"
|
||||||
#include "pymactoolbox.h"
|
#include "pymactoolbox.h"
|
||||||
|
#endif
|
||||||
|
|
||||||
/* Macro to test whether a weak-loaded CFM function exists */
|
/* Macro to test whether a weak-loaded CFM function exists */
|
||||||
#define PyMac_PRECHECK(rtn) do { if ( &rtn == NULL ) {\\
|
#define PyMac_PRECHECK(rtn) do { if ( &rtn == NULL ) {\\
|
||||||
|
|
|
||||||
Loading…
Add table
Add a link
Reference in a new issue