| 1 | #if __option (profile) |
| 2 | #if __POWERPC__ |
| 3 | #pragma precompile_target "wxshlb_Carbon_prof.mch" |
| 4 | #else |
| 5 | #error "illegal processor for carbon" |
| 6 | #endif |
| 7 | #else |
| 8 | #if __MACH__ |
| 9 | #pragma precompile_target "wxshlb_Mach.mch" |
| 10 | #elif __POWERPC__ |
| 11 | #pragma precompile_target "wxshlb_Carbon.mch" |
| 12 | #else |
| 13 | #error "illegal processor for carbon" |
| 14 | #endif |
| 15 | #endif |
| 16 | |
| 17 | #pragma once on |
| 18 | #define WXMAKINGDLL |
| 19 | #undef WX_PRECOMP |
| 20 | #define wxUSE_GUI 1 |
| 21 | #define TARGET_CARBON 1 |
| 22 | #define OLDP2C 1 |
| 23 | #ifdef __MACH__ |
| 24 | #define __DARWIN__ |
| 25 | #define __CF_USE_FRAMEWORK_INCLUDES__ |
| 26 | #define __NOEXTENSIONS__ |
| 27 | #define __UNIX__ |
| 28 | #define __UNIX_LIKE__ |
| 29 | #define HAVE_USLEEP 1 |
| 30 | #define HAVE_FCNTL 1 |
| 31 | #define HAVE_UNAME 1 |
| 32 | #endif |
| 33 | |
| 34 | #include "wx/wx_cw_cm.h" |
| 35 | #ifdef __WXMSW__ |
| 36 | #include <windows.h> |
| 37 | #include "wx/msw/winundef.h" |
| 38 | #endif |