X-Git-Url: https://git.saurik.com/wxWidgets.git/blobdiff_plain/0138c2de7961e165679db12102f1562185cf41a3..1bfcb0b6c3728b9e3e970c8569cf6405df9ff4f9:/src/common/socket.cpp diff --git a/src/common/socket.cpp b/src/common/socket.cpp index 4f3b8085e5..cf219b9ea0 100644 --- a/src/common/socket.cpp +++ b/src/common/socket.cpp @@ -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 // --------------------------------------------------------------