some fixes for AIX compilation

git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@1907 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
This commit is contained in:
Vadim Zeitlin
1999-03-12 15:23:00 +00:00
parent 0138c2de79
commit 1bfcb0b6c3
5 changed files with 31 additions and 24 deletions

View File

@@ -544,9 +544,11 @@ void wxSocketBase::Discard()
// switch lines below.
#if wxHAVE_GLIBC2
# define wxSOCKET_INT socklen_t
# typedef socklen_t wxSOCKET_INT;
#elif defined(__AIX__)
# typedef size_t wxSOCKET_INT;
#else
# define wxSOCKET_INT int
# typedef int wxSOCKET_INT;
#endif
// --------------------------------------------------------------