From 4121365f1155410d0500a40a4bbbdcf39688db35 Mon Sep 17 00:00:00 2001 From: Raphael Coeffic Date: Wed, 9 Apr 2008 18:46:22 +0000 Subject: [PATCH] - added BSD44SOCKETS for Darwin git-svn-id: http://svn.berlios.de/svnroot/repos/sems/trunk@875 8eb893ce-cfd4-0310-b710-fb5ebe64c474 --- Makefile.defs | 6 +++++- 1 file changed, 5 insertions(+), 1 deletion(-) diff --git a/Makefile.defs b/Makefile.defs index b875d098..81540ad2 100644 --- a/Makefile.defs +++ b/Makefile.defs @@ -107,12 +107,16 @@ ifeq ($(OS), darwin) CXXFLAGS += -fno-common CFLAGS += -fno-common + #necessary for sa_len|ss_len|sin_len + # may be needed on other *BSD + CPPFLAGS += -DBSD44SOCKETS + # add the DarwinPorts directory CPPFLAGS += -I /opt/local/include LDFLAGS += -L/opt/local/lib # those modules do not compile by now - exclude_modules += binrpcctrl ilbc + exclude_modules += binrpcctrl else LDFLAGS+= -fPIC -ldl -lsocket -lnsl -lpthread TARGET=solaris