X-Git-Url: https://git.saurik.com/wxWidgets.git/blobdiff_plain/c819dcf7d39d3245b69bec2b8973cd730d618749..08202189cbf2f78d932f85b9733b69e24f08e58c:/include/wx/mac/carbon/config_xcode.h?ds=inline diff --git a/include/wx/mac/carbon/config_xcode.h b/include/wx/mac/carbon/config_xcode.h index 7fd8ea7674..0dc2440fbf 100644 --- a/include/wx/mac/carbon/config_xcode.h +++ b/include/wx/mac/carbon/config_xcode.h @@ -98,7 +98,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 @@ -135,7 +139,6 @@ #define HAVE_STRING_H 1 #define HAVE_SYS_STAT_H 1 #define HAVE_SYS_TYPES_H 1 -#define HAVE_WPRINTF 1 #define HAVE_X11_XLIB_H 1 #define SOCKLEN_T socklen_t #define _FILE_OFFSET_BITS 64