different #ifdefs
This commit is contained in:
parent
872eeebf6d
commit
3075b326c4
|
@ -34,15 +34,14 @@ extern PyObject *WinObj_WhichWindow(WindowPtr);
|
||||||
|
|
||||||
#include <AppleEvents.h>
|
#include <AppleEvents.h>
|
||||||
|
|
||||||
#ifdef THINK_C
|
#ifndef HAVE_UNIVERSAL_HEADERS
|
||||||
#define AEIdleProcPtr IdleProcPtr
|
#define AEIdleProcPtr IdleProcPtr
|
||||||
#define AEFilterProcPtr EventFilterProcPtr
|
#define AEFilterProcPtr EventFilterProcPtr
|
||||||
#define AEEventHandlerProcPtr EventHandlerProcPtr
|
#define AEEventHandlerProcPtr EventHandlerProcPtr
|
||||||
#endif
|
#endif
|
||||||
|
|
||||||
#ifndef __MWERKS__
|
#ifndef HAVE_UNIVERSAL_HEADERS
|
||||||
/* Actually, this is "if not universal headers".
|
/* I'm trying to setup the code here so that is easily automated,
|
||||||
** I'm trying to setup the code here so that is easily automated,
|
|
||||||
** as follows:
|
** as follows:
|
||||||
** - Use the UPP in the source
|
** - Use the UPP in the source
|
||||||
** - for pre-universal headers, #define each UPP as the corresponding ProcPtr
|
** - for pre-universal headers, #define each UPP as the corresponding ProcPtr
|
||||||
|
|
|
@ -78,15 +78,14 @@ AEMethod = OSErrMethodGenerator
|
||||||
includestuff = includestuff + """
|
includestuff = includestuff + """
|
||||||
#include <AppleEvents.h>
|
#include <AppleEvents.h>
|
||||||
|
|
||||||
#ifdef THINK_C
|
#ifndef HAVE_UNIVERSAL_HEADERS
|
||||||
#define AEIdleProcPtr IdleProcPtr
|
#define AEIdleProcPtr IdleProcPtr
|
||||||
#define AEFilterProcPtr EventFilterProcPtr
|
#define AEFilterProcPtr EventFilterProcPtr
|
||||||
#define AEEventHandlerProcPtr EventHandlerProcPtr
|
#define AEEventHandlerProcPtr EventHandlerProcPtr
|
||||||
#endif
|
#endif
|
||||||
|
|
||||||
#ifndef __MWERKS__
|
#ifndef HAVE_UNIVERSAL_HEADERS
|
||||||
/* Actually, this is "if not universal headers".
|
/* I'm trying to setup the code here so that is easily automated,
|
||||||
** I'm trying to setup the code here so that is easily automated,
|
|
||||||
** as follows:
|
** as follows:
|
||||||
** - Use the UPP in the source
|
** - Use the UPP in the source
|
||||||
** - for pre-universal headers, #define each UPP as the corresponding ProcPtr
|
** - for pre-universal headers, #define each UPP as the corresponding ProcPtr
|
||||||
|
|
Loading…
Reference in New Issue