]> git.saurik.com Git - wxWidgets.git/commitdiff
Reverted 1.32. This breaks my Tiger builds which is part of the reason
authorDavid Elliott <dfe@tgwbd.org>
Mon, 14 Mar 2005 02:12:15 +0000 (02:12 +0000)
committerDavid Elliott <dfe@tgwbd.org>
Mon, 14 Mar 2005 02:12:15 +0000 (02:12 +0000)
I reverted the last incarnation of this in the first place!!!

git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@32807 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775

src/unix/gsocket.cpp

index fbd772f927d919d979b66ad5e8feba75d7d8cc2b..3d3c1424214a5d282de40adfb0877df1c684c2e5 100644 (file)
@@ -126,6 +126,16 @@ int _System soclose(int);
 #define SOCKOPTLEN_T SOCKLEN_T
 #endif
 
+/*
+ * OSX 10.2 has int args instead of SOCKLENXXX_T
+ */
+#if defined( __WXMAC__ ) && ( MAC_OS_X_VERSION_MAX_ALLOWED <= MAC_OS_X_VERSION_10_2 )
+#undef SOCKOPTLEN_T 
+#undef SOCKLEN_T
+#define SOCKOPTLEN_T int
+#define SOCKLEN_T int
+#endif
+
 /*
  * OSX 10.2 has int args instead of SOCKLENXXX_T
  */