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:
Karsten Ballüder
1999-01-13 11:50:30 +00:00
parent 8c73964939
commit 6d5977dfdf
6 changed files with 94 additions and 32 deletions

View File

@@ -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
// --------------------------------------------------------------