From 819f6fb9f01650b80f72462bd351be45122ef10e Mon Sep 17 00:00:00 2001 From: Stefan Csomor Date: Sun, 6 Feb 2005 15:57:19 +0000 Subject: [PATCH] needed for avoiding double typedefs in xcode builds git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@31792 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775 --- include/wx/mac/carbon/config_xcode.h | 4 ++++ include/wx/platform.h | 1 + 2 files changed, 5 insertions(+) diff --git a/include/wx/mac/carbon/config_xcode.h b/include/wx/mac/carbon/config_xcode.h index 2f2905f2d1..ec0ccfcfb5 100644 --- a/include/wx/mac/carbon/config_xcode.h +++ b/include/wx/mac/carbon/config_xcode.h @@ -11,6 +11,10 @@ // from config.log confdefs +// for tiger only +#ifdef _SSIZE_T +#define HAVE_SSIZE_T 1 +#endif #define HAVE_BOOL 1 #define HAVE_CONST_CAST #define HAVE_COS 1 diff --git a/include/wx/platform.h b/include/wx/platform.h index a7a9921378..2b4a0a274f 100644 --- a/include/wx/platform.h +++ b/include/wx/platform.h @@ -34,6 +34,7 @@ # define __WXMAC_OSX__ # define __WXMAC_CARBON__ # ifdef __WXMAC_XCODE__ +# include # include "wx/mac/carbon/config_xcode.h" # endif # else -- 2.45.2