summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorwtc%netscape.com <devnull@localhost>2000-02-18 00:08:32 +0000
committerwtc%netscape.com <devnull@localhost>2000-02-18 00:08:32 +0000
commita298a8a2387c248b7aa08907e79a0a1c766f7c32 (patch)
tree46d05df76b641b287f78a79fd2da037665cc4ca0
parent95a17d4c06d70f3f68d1607688464d785aa5328a (diff)
downloadnspr-hg-a298a8a2387c248b7aa08907e79a0a1c766f7c32.tar.gz
Add runtime detection of ipv6 support on Digital UNIX. Bugzilla 25153.
(NSPRPUB_RELEASE_4_0_BRANCH)
-rw-r--r--pr/include/md/_osf1.h7
1 files changed, 6 insertions, 1 deletions
diff --git a/pr/include/md/_osf1.h b/pr/include/md/_osf1.h
index 96a2fe22..c0b95cb5 100644
--- a/pr/include/md/_osf1.h
+++ b/pr/include/md/_osf1.h
@@ -46,9 +46,14 @@
#define _PR_USE_POLL
#define _PR_STAT_HAS_ONLY_ST_ATIME
#define _PR_HAVE_LARGE_OFF_T
-#ifdef _PR_INET6
#define _PR_HAVE_GETIPNODEBYNAME
#define _PR_HAVE_GETIPNODEBYADDR
+#define _PR_INET6_PROBE
+#ifndef _PR_INET6
+#define AF_INET6 26
+#define AI_V4MAPPED 0x00000010
+#define AI_ALL 0x00000008
+#define AI_ADDRCONFIG 0x00000020
#endif
#define _PR_HAVE_POSIX_SEMAPHORES
#define PR_HAVE_POSIX_NAMED_SHARED_MEMORY