X-Git-Url: https://git.saurik.com/wxWidgets.git/blobdiff_plain/9fbbbd40d1250d8ef71dc35e203b3cbc201cc067..b9efe021b554fa3967d1442cf758435c5cd5ae8f:/include/wx_cwc_d.pch diff --git a/include/wx_cwc_d.pch b/include/wx_cwc_d.pch index 95d0c95d9b..631d3c4c13 100644 --- a/include/wx_cwc_d.pch +++ b/include/wx_cwc_d.pch @@ -1,7 +1,9 @@ #if __option (profile) #error "profiling is not supported for debug targets" #else -#if __POWERPC__ +#ifdef __MACH__ + #pragma precompile_target "wx_Mach_d.mch" +#elif __POWERPC__ #pragma precompile_target "wx_Carbon_d.mch" #else #error "illegal processor for carbon" @@ -13,7 +15,13 @@ #define wxUSE_GUI 1 #define TARGET_CARBON 1 #define OLDP2C 1 -#define PM_USE_SESSION_APIS 0 +#ifdef __MACH__ + #define __DARWIN__ + #define __CF_USE_FRAMEWORK_INCLUDES__ + #define __NOEXTENSIONS__ + #define __UNIX__ + #define __UNIX_LIKE__ +#endif #include "wx/wx_cw_cm.h" #ifdef __WXMSW__