diff --git a/include/wx/osx/setup0.h b/include/wx/osx/setup0.h index 7a4f799e0b..8db8c9a0f3 100644 --- a/include/wx/osx/setup0.h +++ b/include/wx/osx/setup0.h @@ -11,6 +11,11 @@ #ifndef _WX_SETUP_H_ #define _WX_SETUP_H_ +#ifdef __WXMAC_XCODE__ +// while configure based builds have the flags prepended, we must do this here +// for xcode based builds +#include "wx/osx/config_xcode.h" +#endif /* --- start common options --- */ // ---------------------------------------------------------------------------- diff --git a/include/wx/platform.h b/include/wx/platform.h index 2f5dea1d99..792dae400c 100644 --- a/include/wx/platform.h +++ b/include/wx/platform.h @@ -55,7 +55,6 @@ # define NSAppKitVersionNumber10_11 1404 # endif # endif -# include "wx/osx/config_xcode.h" # ifndef __WXOSX__ # define __WXOSX__ 1 # endif