summaryrefslogtreecommitdiff
path: root/extra/yassl
diff options
context:
space:
mode:
authorunknown <msvensson@neptunus.(none)>2006-10-23 13:26:04 +0200
committerunknown <msvensson@neptunus.(none)>2006-10-23 13:26:04 +0200
commit394b27b6b415f0042829d99ba6557e3c5db6e601 (patch)
treee495df224265da2acd2842a67865b62dcbcc0319 /extra/yassl
parent88e5b3166dc4eb17bd4517fa47346ea2f6fefe4d (diff)
downloadmariadb-git-394b27b6b415f0042829d99ba6557e3c5db6e601.tar.gz
Netware uses size_t as socklen_t
Diffstat (limited to 'extra/yassl')
-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 0266c802657..b23b36f0ba2 100644
--- a/extra/yassl/testsuite/test.hpp
+++ b/extra/yassl/testsuite/test.hpp
@@ -27,9 +27,12 @@
#endif /* _WIN32 */
-#if !defined(_SOCKLEN_T) && (defined(_WIN32) || defined(__NETWARE__))
+#if !defined(_SOCKLEN_T) && defined(_WIN32)
typedef int socklen_t;
#endif
+#if !defined(_SOCKLEN_T) && defined(__NETWARE__)
+ typedef size_t socklen_t;
+#endif
// Check type of third arg to accept