From cb509c77144e6964017f589e6e7b6050313e6ecd Mon Sep 17 00:00:00 2001 From: unknown Date: Mon, 22 Jan 2007 12:34:39 +0100 Subject: Add define for used type of third argument to 'accept' - Netware uses size_t --- extra/yassl/testsuite/test.hpp | 5 ++++- 1 file changed, 4 insertions(+), 1 deletion(-) (limited to 'extra') diff --git a/extra/yassl/testsuite/test.hpp b/extra/yassl/testsuite/test.hpp index b2fed37f4e5..c921f8f9c69 100644 --- a/extra/yassl/testsuite/test.hpp +++ b/extra/yassl/testsuite/test.hpp @@ -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 -- cgit v1.2.1