]> git.saurik.com Git - wxWidgets.git/blobdiff - include/wx/platform.h
correcting header path
[wxWidgets.git] / include / wx / platform.h
index f64a2d2f67181b9ca622799b53c6fd427b226822..8c7faf3b322e9c8932b68762847be4b3264e6073 100644 (file)
@@ -41,7 +41,9 @@
 
 #ifdef __WXOSX__
 /* for backwards compatibility of code (including our own) define __WXMAC__ */
+#ifndef __WXMAC__
 #define __WXMAC__
+#endif
 /* setup precise defines according to sdk used */
 #   include <TargetConditionals.h>
 #   if defined(TARGET_OS_IPHONE) && TARGET_OS_IPHONE
 #        include <unistd.h>
 #        include <TargetConditionals.h>
 #        include <AvailabilityMacros.h>
-#        include "wx/mac/config_xcode.h"
+#        include "wx/osx/config_xcode.h"
 #    endif
 #endif
 /*