зеркало из https://github.com/mozilla/gecko-dev.git
The type of the third argument for accept, recvfrom, getsockname, and
getpeername is 'int', not 'size_t'.
This commit is contained in:
Родитель
09e0473845
Коммит
6b123aed81
|
@ -45,10 +45,10 @@
|
|||
#if defined(IRIX) || defined(HPUX) || defined(OSF1) || defined(SOLARIS) \
|
||||
|| defined(AIX4_1) || defined(LINUX) || defined(SONY) \
|
||||
|| defined(BSDI) || defined(SCO) || defined(NEC) || defined(SNI) \
|
||||
|| defined(SUNOS4) || defined(NCR)
|
||||
|| defined(SUNOS4) || defined(NCR) || defined(RHAPSODY)
|
||||
#define _PRSockLen_t int
|
||||
#elif (defined(AIX) && !defined(AIX4_1)) || defined(FREEBSD) \
|
||||
|| defined(UNIXWARE) || defined(RHAPSODY)
|
||||
|| defined(UNIXWARE)
|
||||
#define _PRSockLen_t size_t
|
||||
#else
|
||||
#error "Cannot determine architecture"
|
||||
|
|
Загрузка…
Ссылка в новой задаче