summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorwtc <devnull@localhost>1998-05-06 19:53:26 +0000
committerwtc <devnull@localhost>1998-05-06 19:53:26 +0000
commit6cdd9b05911c2bf865c056671e09bc877344ae08 (patch)
tree1d154e0b17ca412fddfbe2d57a7c89dca22a6e6a
parent1ea5a7509ac869ba75cba57a950d98c1908eccff (diff)
downloadnspr-hg-6cdd9b05911c2bf865c056671e09bc877344ae08.tar.gz
Define IP_MULTICAST to get the IP multicast macro/struct definitions
in netinet/in.h on SINIX 5.43. We acknowledge the help of Sanjay Gupta <gupta@informix.com>.
-rw-r--r--config/SINIX.mk7
1 files changed, 7 insertions, 0 deletions
diff --git a/config/SINIX.mk b/config/SINIX.mk
index 61333672..5711aeb2 100644
--- a/config/SINIX.mk
+++ b/config/SINIX.mk
@@ -55,6 +55,13 @@ endif
ODD_CFLAGS += -DSVR4 -DSNI -DRELIANTUNIX -Dsinix -D_SVID_GETTOD
+# On SINIX 5.43, need to define IP_MULTICAST in order to get the
+# IP multicast macro and struct definitions in netinet/in.h.
+# (SINIX 5.42 does not have IP multicast at all.)
+ifeq ($(OS_RELEASE),5.43)
+ODD_CFLAGS += -DIP_MULTICAST
+endif
+
CPU_ARCH = mips
RANLIB = /bin/true