X-Git-Url: https://git.saurik.com/wxWidgets.git/blobdiff_plain/ff297bdd57bcdcebb90479af281f420376cadfd0..ca6a9a148646fb024d76b3e19c940ace56eec1f8:/include/wxshlba_cwc.pch diff --git a/include/wxshlba_cwc.pch b/include/wxshlba_cwc.pch index 69dcdd45bf..0e21727966 100644 --- a/include/wxshlba_cwc.pch +++ b/include/wxshlba_cwc.pch @@ -5,7 +5,9 @@ #error "illegal processor for carbon" #endif #else -#if __POWERPC__ +#if __MACH__ + #pragma precompile_target "wxshlba_Mach.mch" +#elif __POWERPC__ #pragma precompile_target "wxshlba_Carbon.mch" #else #error "illegal processor for carbon" @@ -18,5 +20,19 @@ #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__ + #include + #include "wx/msw/winundef.h" +#endif