diff --git a/include/wx/osx/config_xcode.h b/include/wx/osx/config_xcode.h index 1da52bc6f1..a8257a636b 100644 --- a/include/wx/osx/config_xcode.h +++ b/include/wx/osx/config_xcode.h @@ -26,6 +26,15 @@ #define HAVE_EXPLICIT 1 #define HAVE_VA_COPY 1 #define HAVE_VARIADIC_MACROS 1 +#define HAVE_STD_WSTRING 1 +#if MAC_OS_X_VERSION_MAX_ALLOWED >= MAC_OS_X_VERSION_10_6 +#if __GNUC__ > 4 || ( __GNUC__ == 4 && __GNUC_MINOR__ >= 2 ) +#define HAVE_TR1_UNORDERED_MAP 1 +#define HAVE_TR1_UNORDERED_SET 1 +#define HAVE_TR1_TYPE_TRAITS 1 +#define HAVE_GCC_ATOMIC_BUILTINS 1 +#endif +#endif #define HAVE_VISIBILITY 1 #define wxHAVE_PTHREAD_CLEANUP 1 #define CONST_COMPATIBILITY 0