Fixes for compilation problems on Solaris(!).
Added detection of glibc2 to fix Linux compilation problems. git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@1393 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
This commit is contained in:
@@ -518,11 +518,10 @@ void wxSocketBase::Discard()
|
||||
// Meanwhile, if your compiler complains about socklen_t,
|
||||
// switch lines below.
|
||||
|
||||
#if defined(__LINUX__)
|
||||
// #if 0
|
||||
#define wxSOCKET_INT socklen_t
|
||||
#if wxHAVE_GLIBC2
|
||||
# define wxSOCKET_INT socklen_t
|
||||
#else
|
||||
#define wxSOCKET_INT int
|
||||
# define wxSOCKET_INT int
|
||||
#endif
|
||||
|
||||
// --------------------------------------------------------------
|
||||
|
Reference in New Issue
Block a user