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
commit1d82eb04dddce5fcea5d38bdbf7aef5c29e43972 (patch)
treefb6d2680517a50b34aeb44ec9fa1cae60ac796fe /extra
parent332186b6391785572ccaa32a1f15c1f24184fba3 (diff)
downloadmariadb-git-1d82eb04dddce5fcea5d38bdbf7aef5c29e43972.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