]> git.saurik.com Git - wxWidgets.git/blobdiff - include/wx_cwc.pch++
Use theme and HTML Help headers from Wine (with permission)
[wxWidgets.git] / include / wx_cwc.pch++
index 51b009a212337386dc0003d0d09c73daa52816cf..e39a34cefb9902975fd2b9fe237fd014291e6df4 100644 (file)
@@ -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"
 
 #pragma once on
 #define WX_PRECOMP
+#define wxUSE_GUI 1
 #define TARGET_CARBON 1
 #define OLDP2C 1
-#define wxUSE_GUI 1
+#ifdef __MACH__
+       #define __DARWIN__
+       #define __CF_USE_FRAMEWORK_INCLUDES__
+       #define __NOEXTENSIONS__
+       #define __UNIX__
+       #define __UNIX_LIKE__
+#endif
+
 #include "wx/wx_cw_cm.h"
 #include "wx/wxprec.h"
\ No newline at end of file