summaryrefslogtreecommitdiff
path: root/pr/include/md/_osf1.h
diff options
context:
space:
mode:
authorwtc%netscape.com <devnull@localhost>2003-01-16 16:16:34 +0000
committerwtc%netscape.com <devnull@localhost>2003-01-16 16:16:34 +0000
commitbfe03eec9080ab297939b1e3f0e0d335d1ee0dfa (patch)
treef7b002924c81576465512e50caac40011127c88b /pr/include/md/_osf1.h
parent2e4441eaf9649e7429bfd0f975a1a181b9433549 (diff)
downloadnspr-hg-bfe03eec9080ab297939b1e3f0e0d335d1ee0dfa.tar.gz
Bug 168228: added IPv6 support for Darwin (Mac OS X). Added two new
feature macros _PR_HAVE_INET_NTOP and _PR_GHBA_DISALLOW_V4MAPPED to handle the differences of Darwin's IPv6 sockets implementation and other platforms' implementations. Modified files: _aix.h _bsdi.h _darwin.h _freebsd.h _irix.h _linux.h _netbsd.h _openvms.h _osf1.h _solaris.h prnetdb.c
Diffstat (limited to 'pr/include/md/_osf1.h')
-rw-r--r--pr/include/md/_osf1.h4
1 files changed, 3 insertions, 1 deletions
diff --git a/pr/include/md/_osf1.h b/pr/include/md/_osf1.h
index edf2fa3d..33c44da6 100644
--- a/pr/include/md/_osf1.h
+++ b/pr/include/md/_osf1.h
@@ -72,7 +72,9 @@
#define _PR_HAVE_GETIPNODEBYNAME
#define _PR_HAVE_GETIPNODEBYADDR
#define _PR_INET6_PROBE
-#ifndef _PR_INET6
+#ifdef _PR_INET6
+#define _PR_HAVE_INET_NTOP
+#else
#define AF_INET6 26
#define AI_V4MAPPED 0x00000010
#define AI_ALL 0x00000008