]> git.saurik.com Git - wxWidgets.git/blobdiff - include/wx/platform.h
Fixes so joystick not only compiles on Linux, but it actually works too!
[wxWidgets.git] / include / wx / platform.h
index 7d172e745ac0f36f0ca9ad7e0390481fb74c4dd0..d9670ec48e6745f2e344dfdcd5ea7897ecba5acb 100644 (file)
@@ -34,6 +34,9 @@
                #define __WXMAC_OSX__ 1
                #define __WXMAC_CARBON__ 1
                #define __WXMAC_CLASSIC__ 0
+        #ifdef __WXMAC_XCODE__
+            #include "wx/mac/carbon/config_xcode.h"
+        #endif
        #else
                #define __WXMAC_OSX__ 0
                #if TARGET_CARBON
 #    endif
 #endif /* WINE */
 
+/* detect SmartPhone */
+#if defined( WIN32_PLATFORM_WFSP )
+#    ifndef __SMARTPHONE__
+#        define __SMARTPHONE__
+#    endif
+#endif
+
 /*
    Include wx/setup.h for the Unix platform defines generated by configure and
    the library compilation options