diff options
Diffstat (limited to 'externals/grill/flext/source/flprefix.h')
-rwxr-xr-x | externals/grill/flext/source/flprefix.h | 11 |
1 files changed, 9 insertions, 2 deletions
diff --git a/externals/grill/flext/source/flprefix.h b/externals/grill/flext/source/flprefix.h index 028c8df9..6c2e2999 100755 --- a/externals/grill/flext/source/flprefix.h +++ b/externals/grill/flext/source/flprefix.h @@ -141,8 +141,15 @@ WARRANTIES, see the file, "license.txt," in this distribution. #elif defined(__MWERKS__) // Metrowerks CodeWarrior - #ifndef __CONDITIONALMACROS__ - #include <ConditionalMacros.h> + #ifdef __MACH__ + // quick fix for OSX Mach-O + #define TARGET_CPU_PPC 1 + #define TARGET_OS_MAC 1 + #define TARGET_API_MAC_OSX 1 + #else + #ifndef __CONDITIONALMACROS__ + #include <ConditionalMacros.h> + #endif #endif #ifndef FLEXT_CPU |