summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorbnicholes <bnicholes@13f79535-47bb-0310-9956-ffa450edef68>2001-08-02 22:27:02 +0000
committerbnicholes <bnicholes@13f79535-47bb-0310-9956-ffa450edef68>2001-08-02 22:27:02 +0000
commit3198cc3df9e10e577ac9fcd22e66b50265b9f94d (patch)
tree7c62da24e29cf36828ff018d171fa03021352db5
parent95ad3ca4258128859e7c67333a60f55320cf1199 (diff)
downloadlibapr-3198cc3df9e10e577ac9fcd22e66b50265b9f94d.tar.gz
Added NETWARE to the WIN32 ifdef list
git-svn-id: http://svn.apache.org/repos/asf/apr/apr/trunk@62095 13f79535-47bb-0310-9956-ffa450edef68
-rw-r--r--misc/unix/start.c6
1 files changed, 3 insertions, 3 deletions
diff --git a/misc/unix/start.c b/misc/unix/start.c
index c7e0a7f76..7fb2dfeab 100644
--- a/misc/unix/start.c
+++ b/misc/unix/start.c
@@ -67,7 +67,7 @@ static apr_pool_t *global_apr_pool;
APR_DECLARE(apr_status_t) apr_initialize(void)
{
apr_status_t status;
-#if defined WIN32
+#if defined WIN32 || defined(NETWARE)
int iVersionRequested;
WSADATA wsaData;
int err;
@@ -81,9 +81,9 @@ APR_DECLARE(apr_status_t) apr_initialize(void)
return APR_ENOPOOL;
}
-#if !defined(BEOS) && !defined(OS2) && !defined(WIN32)
+#if !defined(BEOS) && !defined(OS2) && !defined(WIN32) && !defined(NETWARE)
apr_unix_setup_lock();
-#elif defined WIN32
+#elif defined WIN32 || defined(NETWARE)
iVersionRequested = MAKEWORD(WSAHighByte, WSALowByte);
err = WSAStartup((WORD) iVersionRequested, &wsaData);
if (err) {