| 1 | #if __option (profile) |
| 2 | #ifdef __MACH__ |
| 3 | #pragma precompile_target "wx_Mach_prof.mch" |
| 4 | #elif __POWERPC__ |
| 5 | #pragma precompile_target "wx_Carbon_prof.mch" |
| 6 | #else |
| 7 | #error "illegal processor for carbon" |
| 8 | #endif |
| 9 | #else |
| 10 | #ifdef __MACH__ |
| 11 | #pragma precompile_target "wx_Mach.mch" |
| 12 | #elif __POWERPC__ |
| 13 | #pragma precompile_target "wx_Carbon.mch" |
| 14 | #else |
| 15 | #error "illegal processor for carbon" |
| 16 | #endif |
| 17 | #endif |
| 18 | |
| 19 | #pragma once on |
| 20 | #undef WX_PRECOMP |
| 21 | #define wxUSE_GUI 1 |
| 22 | #define TARGET_CARBON 1 |
| 23 | #define OLDP2C 1 |
| 24 | #ifdef __MACH__ |
| 25 | #define __DARWIN__ |
| 26 | #define __CF_USE_FRAMEWORK_INCLUDES__ |
| 27 | #define __NOEXTENSIONS__ |
| 28 | #define __UNIX__ |
| 29 | #define __UNIX_LIKE__ |
| 30 | #endif |
| 31 | |
| 32 | #include "wx/wx_cw_cm.h" |