X-Git-Url: https://git.saurik.com/wxWidgets.git/blobdiff_plain/ff297bdd57bcdcebb90479af281f420376cadfd0..4f2511d706e5274a34e1521e11c1b95fed735b42:/include/wxshlba_cwc_d.pch?ds=sidebyside diff --git a/include/wxshlba_cwc_d.pch b/include/wxshlba_cwc_d.pch index 981d723963..bd8f479cd0 100644 --- a/include/wxshlba_cwc_d.pch +++ b/include/wxshlba_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 "wxshlba_Mach_d.mch" +#elif __POWERPC__ #pragma precompile_target "wxshlba_Carbon_d.mch" #else #error "illegal processor for carbon" @@ -14,6 +16,16 @@ #define wxUSE_GUI 1 #define TARGET_CARBON 1 #define OLDP2C 1 +#ifdef __MACH__ + #define __DARWIN__ + #define __CF_USE_FRAMEWORK_INCLUDES__ + #define __NOEXTENSIONS__ + #define __UNIX__ + #define __UNIX_LIKE__ + #define HAVE_USLEEP 1 + #define HAVE_FCNTL 1 + #define HAVE_UNAME 1 +#endif #include "wx/wx_cw_cm.h" #ifdef __WXMSW__