You are viewing a plain text version of this content. The canonical link for it is here.
Posted to commits@apr.apache.org by bn...@apache.org on 2002/02/01 18:27:38 UTC
cvs commit: apr/misc/unix start.c
bnicholes 02/02/01 09:27:38
Modified: misc/unix start.c
Log:
Removed the NetWare #ifdefs since NetWare now has its own version of
start.c
Revision Changes Path
1.61 +4 -8 apr/misc/unix/start.c
Index: start.c
===================================================================
RCS file: /home/cvs/apr/misc/unix/start.c,v
retrieving revision 1.60
retrieving revision 1.61
diff -u -r1.60 -r1.61
--- start.c 30 Jan 2002 06:42:55 -0000 1.60
+++ start.c 1 Feb 2002 17:27:38 -0000 1.61
@@ -83,7 +83,7 @@
{
apr_pool_t *pool;
apr_status_t status;
-#if defined WIN32 || defined(NETWARE)
+#if defined WIN32
int iVersionRequested;
WSADATA wsaData;
int err;
@@ -96,16 +96,12 @@
return APR_SUCCESS;
}
-#if !defined(BEOS) && !defined(OS2) && !defined(WIN32) && !defined(NETWARE)
+#if !defined(BEOS) && !defined(OS2) && !defined(WIN32)
apr_unix_setup_lock();
apr_proc_mutex_unix_setup_lock();
apr_unix_setup_time();
#endif
-#if defined(NETWARE)
- apr_netware_setup_time();
-#endif
-
if ((status = apr_pool_initialize()) != APR_SUCCESS)
return status;
@@ -122,7 +118,7 @@
}
#endif
-#if defined(NETWARE) || defined(WIN32)
+#if defined(WIN32)
iVersionRequested = MAKEWORD(WSAHighByte, WSALowByte);
err = WSAStartup((WORD) iVersionRequested, &wsaData);
if (err) {
@@ -148,7 +144,7 @@
}
apr_pool_terminate();
-#if defined(NETWARE) || defined(WIN32)
+#if defined(WIN32)
WSACleanup();
#endif
}