aboutsummaryrefslogtreecommitdiff
path: root/externals/grill/flext/source/flstdc.h
diff options
context:
space:
mode:
authorThomas Grill <xovo@users.sourceforge.net>2004-08-24 02:34:30 +0000
committerThomas Grill <xovo@users.sourceforge.net>2004-08-24 02:34:30 +0000
commit02a91a1c1287fea5932bde76ceaece20cb69d1e1 (patch)
treee5f21bd2bdd1d47f790f27301c3459dd15559ba8 /externals/grill/flext/source/flstdc.h
parent6bde9039f63f4529bc29705cf05750161d299cf5 (diff)
""
svn path=/trunk/; revision=1972
Diffstat (limited to 'externals/grill/flext/source/flstdc.h')
-rw-r--r--externals/grill/flext/source/flstdc.h16
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