summaryrefslogtreecommitdiff
path: root/extra
diff options
context:
space:
mode:
authorunknown <msvensson@neptunus.(none)>2007-01-22 12:34:39 +0100
committerunknown <msvensson@neptunus.(none)>2007-01-22 12:34:39 +0100
commitcb509c77144e6964017f589e6e7b6050313e6ecd (patch)
treefb6d2680517a50b34aeb44ec9fa1cae60ac796fe /extra
parent2bfeb2a4b26298ea71addb2ce792dbc09ff1d4d2 (diff)
downloadmariadb-git-cb509c77144e6964017f589e6e7b6050313e6ecd.tar.gz
Add define for used type of third argument to 'accept' - Netware uses size_t
Diffstat (limited to 'extra')
-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