mirror of
https://github.com/MariaDB/server.git
synced 2026-05-07 07:35:32 +02:00
Add define for used type of third argument to 'accept' - Netware uses size_t
This commit is contained in:
parent
332186b639
commit
1d82eb04dd
1 changed files with 4 additions and 1 deletions
|
|
@ -40,8 +40,11 @@
|
|||
|
||||
// Check type of third arg to accept
|
||||
#if defined(__hpux)
|
||||
// HPUX doesn't use socklent_t for third parameter to accept
|
||||
// HPUX uses int* for third parameter to accept
|
||||
typedef int* ACCEPT_THIRD_T;
|
||||
#elif defined(__NETWARE__)
|
||||
// NetWare uses size_t* for third parameter to accept
|
||||
typedef size_t* ACCEPT_THIRD_T;
|
||||
#else
|
||||
typedef socklen_t* ACCEPT_THIRD_T;
|
||||
#endif
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue