summaryrefslogtreecommitdiff
path: root/extra/yassl/testsuite/test.hpp
diff options
context:
space:
mode:
authormsvensson@neptunus.(none) <>2007-01-22 12:34:39 +0100
committermsvensson@neptunus.(none) <>2007-01-22 12:34:39 +0100
commit4bb6151a7a64038f45c19c7bcb0dba22b2bab6bc (patch)
treefb6d2680517a50b34aeb44ec9fa1cae60ac796fe /extra/yassl/testsuite/test.hpp
parent6db5790c2b825288f7a4cfaabb030576fd142a27 (diff)
downloadmariadb-git-4bb6151a7a64038f45c19c7bcb0dba22b2bab6bc.tar.gz
Add define for used type of third argument to 'accept' - Netware uses size_t
Diffstat (limited to 'extra/yassl/testsuite/test.hpp')
-rw-r--r--extra/yassl/testsuite/test.hpp5
1 files changed, 4 insertions, 1 deletions
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