]> git.saurik.com Git - wxWidgets.git/blobdiff - include/wxshlb_cwc_d.pch
Don't extern declare wxDialogNameStr twice in include/wx/mac/classic/dialog.h either...
[wxWidgets.git] / include / wxshlb_cwc_d.pch
index fe24af259126888d12909846d52f95ece3c04a96..a547877d28f54577f842de2e1c236caed2f449ff 100644 (file)
@@ -1,7 +1,9 @@
 #if __option (profile) 
        #error "profiling is not supported for debug targets"
 #else
-#if __POWERPC__
+#ifdef __MACH__
+       #pragma precompile_target "wxshlb_Mach_d.mch"
+#elif __POWERPC__
        #pragma precompile_target "wxshlb_Carbon_d.mch"
 #else
        #error "illegal processor for carbon"
 #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__