Commit cb509c77 authored by unknown's avatar unknown

Add define for used type of third argument to 'accept' - Netware uses size_t

parent 2bfeb2a4
...@@ -40,8 +40,11 @@ ...@@ -40,8 +40,11 @@
// Check type of third arg to accept // Check type of third arg to accept
#if defined(__hpux) #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; typedef int* ACCEPT_THIRD_T;
#elif defined(__NETWARE__)
// NetWare uses size_t* for third parameter to accept
typedef size_t* ACCEPT_THIRD_T;
#else #else
typedef socklen_t* ACCEPT_THIRD_T; typedef socklen_t* ACCEPT_THIRD_T;
#endif #endif
......
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment