From: David Elliott Date: Mon, 14 Mar 2005 02:12:15 +0000 (+0000) Subject: Reverted 1.32. This breaks my Tiger builds which is part of the reason X-Git-Url: https://git.saurik.com/wxWidgets.git/commitdiff_plain/b35bb76271de7f24e0b38089d8d0e7d71e50cf0b?ds=inline Reverted 1.32. This breaks my Tiger builds which is part of the reason 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 --- diff --git a/src/unix/gsocket.cpp b/src/unix/gsocket.cpp index fbd772f927..3d3c142421 100644 --- a/src/unix/gsocket.cpp +++ b/src/unix/gsocket.cpp @@ -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 */