X-Git-Url: https://git.saurik.com/wxWidgets.git/blobdiff_plain/9fbbbd40d1250d8ef71dc35e203b3cbc201cc067..708c45a6cef439edb007ca8f8329582244f152f5:/include/wx_cwc.pch diff --git a/include/wx_cwc.pch b/include/wx_cwc.pch index 99608bd5cc..c6e0d96ca9 100644 --- a/include/wx_cwc.pch +++ b/include/wx_cwc.pch @@ -1,11 +1,15 @@ #if __option (profile) -#if __POWERPC__ +#ifdef __MACH__ + #pragma precompile_target "wx_Mach_prof.mch" +#elif __POWERPC__ #pragma precompile_target "wx_Carbon_prof.mch" #else #error "illegal processor for carbon" #endif #else -#if __POWERPC__ +#ifdef __MACH__ + #pragma precompile_target "wx_Mach.mch" +#elif __POWERPC__ #pragma precompile_target "wx_Carbon.mch" #else #error "illegal processor for carbon" @@ -17,6 +21,12 @@ #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"