diff options
Diffstat (limited to 'externals/grill/flext/source/flstdc.h')
-rw-r--r-- | externals/grill/flext/source/flstdc.h | 16 |
1 files changed, 11 insertions, 5 deletions
diff --git a/externals/grill/flext/source/flstdc.h b/externals/grill/flext/source/flstdc.h index 5f503f1f..97dacd54 100644 --- a/externals/grill/flext/source/flstdc.h +++ b/externals/grill/flext/source/flstdc.h @@ -96,12 +96,18 @@ typedef t_clock t_qelem; // Include the relevant Max/MSP header files #if FLEXT_OS == FLEXT_OS_MAC - #ifndef __MRC__ - #define powerc - #endif - #define __MOTO__ 0 + #if FLEXT_OSAPI == FLEXT_OSAPI_MAC_MACH + // MachO version - must insert prefix header + #include <ext_carbon_prefix.h> + #else + // CFM version + #ifndef __MRC__ + #define powerc + #endif + #define __MOTO__ 0 - #include <MacTypes.h> + #include <MacTypes.h> + #endif #elif FLEXT_OS == FLEXT_OS_WIN #define WIN_VERSION 1 #endif |