summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorbnicholes <bnicholes@13f79535-47bb-0310-9956-ffa450edef68>2002-09-03 16:29:43 +0000
committerbnicholes <bnicholes@13f79535-47bb-0310-9956-ffa450edef68>2002-09-03 16:29:43 +0000
commit82c87f6898f30381ff7ccd11d5bea567e9b0607d (patch)
tree209ee28c9c9e95c5a7736eda135ec36fa6a6e43d
parent6fabe6d57962f4f6ebbb1c986093da9b0d4e2b73 (diff)
downloadlibapr-82c87f6898f30381ff7ccd11d5bea567e9b0607d.tar.gz
Getting ready to build for IPV6 on NetWare
git-svn-id: http://svn.apache.org/repos/asf/apr/apr/trunk@63849 13f79535-47bb-0310-9956-ffa450edef68
-rw-r--r--include/apr.hnw4
-rw-r--r--include/arch/netware/apr_private.h4
2 files changed, 8 insertions, 0 deletions
diff --git a/include/apr.hnw b/include/apr.hnw
index 3c465870e..6e3d45623 100644
--- a/include/apr.hnw
+++ b/include/apr.hnw
@@ -170,7 +170,11 @@
#define APR_HAVE_IN_ADDR 1
#define APR_HAVE_INET_ADDR 1
#define APR_HAVE_INET_NETWORK 0
+#ifdef NW_BUILD_IPV6
+#define APR_HAVE_IPV6 1
+#else
#define APR_HAVE_IPV6 0
+#endif
#define APR_HAVE_MEMCHR 1
#define APR_HAVE_MEMMOVE 1
#define APR_HAVE_SETRLIMIT 0
diff --git a/include/arch/netware/apr_private.h b/include/arch/netware/apr_private.h
index 9df1b957e..793941371 100644
--- a/include/arch/netware/apr_private.h
+++ b/include/arch/netware/apr_private.h
@@ -99,6 +99,10 @@
#define ALLOC_USE_MALLOC
#define DSO_USE_DLFCN
+#ifdef NW_BUILD_IPV6
+#define HAVE_GETADDRINFO 1
+#define HAVE_GETNAMEINFO 1
+#endif
/* 1 is used for SIGABRT on netware */
/* 2 is used for SIGFPE on netware */