summaryrefslogtreecommitdiff
path: root/support/logresolve.c
diff options
context:
space:
mode:
authorBradley Nicholes <bnicholes@apache.org>2005-04-14 23:42:21 +0000
committerBradley Nicholes <bnicholes@apache.org>2005-04-14 23:42:21 +0000
commit6905d3d9d5da41176e547742c8c04d434cde2056 (patch)
tree36215a9131a7eb10cfa3907b4dbb6d4a155465b5 /support/logresolve.c
parent8fa473da4301bfc766fcf3908f336b7c1e0dee8a (diff)
downloadhttpd-6905d3d9d5da41176e547742c8c04d434cde2056.tar.gz
Allow httpd on NetWare to build using either the standard socket libraries or the Winsock libraries.
git-svn-id: https://svn.apache.org/repos/asf/httpd/httpd/trunk@161368 13f79535-47bb-0310-9956-ffa450edef68
Diffstat (limited to 'support/logresolve.c')
-rw-r--r--support/logresolve.c4
1 files changed, 2 insertions, 2 deletions
diff --git a/support/logresolve.c b/support/logresolve.c
index 5576fd1ea0..e497d2e0c3 100644
--- a/support/logresolve.c
+++ b/support/logresolve.c
@@ -305,7 +305,7 @@ int main (int argc, char *argv[])
char *bar, hoststring[MAXDNAME + 1], line[MAXLINE], *statfile;
int i, check;
-#if defined(WIN32) || defined(NETWARE)
+#if defined(WIN32) || (defined(NETWARE) && defined(USE_WINSOCK))
/* If we apr'ify this code, apr_pool_create/apr_pool_destroy
* should perform the WSAStartup/WSACleanup for us.
*/
@@ -367,7 +367,7 @@ int main (int argc, char *argv[])
puts(hoststring);
}
-#if defined(WIN32) || defined(NETWARE)
+#if defined(WIN32) || (defined(NETWARE) && defined(USE_WINSOCK))
WSACleanup();
#endif