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:
@@ -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
|
||||
|
||||
// --------------------------------------------------------------
|
||||
|
Reference in New Issue
Block a user