]> git.saurik.com Git - wxWidgets.git/commitdiff
needed for avoiding double typedefs in xcode builds
authorStefan Csomor <csomor@advancedconcepts.ch>
Sun, 6 Feb 2005 15:57:19 +0000 (15:57 +0000)
committerStefan Csomor <csomor@advancedconcepts.ch>
Sun, 6 Feb 2005 15:57:19 +0000 (15:57 +0000)
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@31792 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775

include/wx/mac/carbon/config_xcode.h
include/wx/platform.h

index 2f2905f2d1475033b814ddc4a2ad0ebdf5d43ac8..ec0ccfcfb5a344c1a4d97267d7c0ed193a8abfb8 100644 (file)
 
 // 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
index a7a9921378ffd313a5b356a603ca3c3db4957b13..2b4a0a274f0f3dc31f7e427729d5651c24f874e4 100644 (file)
@@ -34,6 +34,7 @@
 #        define __WXMAC_OSX__
 #        define __WXMAC_CARBON__
 #        ifdef __WXMAC_XCODE__
+#            include <unistd.h>
 #            include "wx/mac/carbon/config_xcode.h"
 #        endif
 #    else