From: Stefan Csomor Date: Tue, 20 Nov 2007 09:25:39 +0000 (+0000) Subject: common xcode support X-Git-Url: https://git.saurik.com/wxWidgets.git/commitdiff_plain/dae17a47b9c787cb7f47663fbeaaa5f9808853c7 common xcode support git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@50106 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775 --- diff --git a/include/wx/platform.h b/include/wx/platform.h index a174b2e706..fce5c927cd 100644 --- a/include/wx/platform.h +++ b/include/wx/platform.h @@ -40,10 +40,6 @@ # ifndef MAC_OS_X_VERSION_10_5 # define MAC_OS_X_VERSION_10_5 1050 # endif -# ifdef __WXMAC_XCODE__ -# include -# include "wx/mac/carbon/config_xcode.h" -# endif # else # error "only mach-o configurations are supported" # endif @@ -72,6 +68,12 @@ # define __WXOSX__ #endif +#ifdef __WXOSX__ +# ifdef __WXMAC_XCODE__ +# include +# include "wx/mac/carbon/config_xcode.h" +# endif +#endif /* first define Windows symbols if they're not defined on the command line: we can autodetect everything we need if _WIN32 is defined