mirror of
https://github.com/MariaDB/server.git
synced 2026-04-20 23:35:32 +02:00
Netware uses size_t as socklen_t
This commit is contained in:
parent
88e5b3166d
commit
394b27b6b4
1 changed files with 4 additions and 1 deletions
|
|
@ -27,9 +27,12 @@
|
|||
#endif /* _WIN32 */
|
||||
|
||||
|
||||
#if !defined(_SOCKLEN_T) && (defined(_WIN32) || defined(__NETWARE__))
|
||||
#if !defined(_SOCKLEN_T) && defined(_WIN32)
|
||||
typedef int socklen_t;
|
||||
#endif
|
||||
#if !defined(_SOCKLEN_T) && defined(__NETWARE__)
|
||||
typedef size_t socklen_t;
|
||||
#endif
|
||||
|
||||
|
||||
// Check type of third arg to accept
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue