X-Git-Url: https://git.saurik.com/wxWidgets.git/blobdiff_plain/820716c69f63230f43a2a2b3f39034f4e1d4d188..05cc594ad247b7c97b839bdd26d3bbca2eb03147:/include/wx/mac/carbon/config_xcode.h?ds=sidebyside diff --git a/include/wx/mac/carbon/config_xcode.h b/include/wx/mac/carbon/config_xcode.h index 04a1cac042..372d00a56a 100644 --- a/include/wx/mac/carbon/config_xcode.h +++ b/include/wx/mac/carbon/config_xcode.h @@ -61,7 +61,6 @@ #define HAVE_VSNPRINTF_DECL 1 #define HAVE_USLEEP 1 #define HAVE_WCSLEN 1 -#define SIZEOF_CHAR 1 #define SIZEOF_WCHAR_T 4 #define SIZEOF_SHORT 2 #define SIZEOF_INT 4 @@ -98,7 +97,11 @@ #define HAVE_UNISTD_H 1 #define HAVE_WCHAR_H 1 #define HAVE_ICONV 1 -#define ICONV_CONST +#if MAC_OS_X_VERSION_MAX_ALLOWED < MAC_OS_X_VERSION_10_5 +#define ICONV_CONST const +#else +#define ICONV_CONST +#endif #define HAVE_LANGINFO_H 1 #define HAVE_WCSRTOMBS 1 #define HAVE_FPUTWS 1