From: David Elliott Date: Wed, 29 Dec 2004 03:55:10 +0000 (+0000) Subject: Some platforms that use socklen_t don't use it for the fifth argument to X-Git-Url: https://git.saurik.com/wxWidgets.git/commitdiff_plain/6bbbf0ad43c18edf18db8d1a54a7ad11f9c09e37?ds=inline Some platforms that use socklen_t don't use it for the fifth argument to getsockopt. Do a separate test and define SOCKOPTLEN_T appropriately. NOTE: Forgot to commit this earlier. git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@31185 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775 --- diff --git a/setup.h.in b/setup.h.in index cf035834e6..3c2e778e31 100644 --- a/setup.h.in +++ b/setup.h.in @@ -1035,6 +1035,9 @@ /* The type of 3rd argument to getsockname() - usually size_t or int */ #undef SOCKLEN_T +/* The type of 5th argument to getsockopt() - usually size_t or int */ +#undef SOCKOPTLEN_T + /* The type of statvfs(2) argument */ #undef WX_STATFS_T