]> git.ipfire.org Git - thirdparty/asterisk.git/commitdiff
re-add explicit poll support for Darwin
authorRussell Bryant <russell@russellbryant.com>
Mon, 21 Nov 2005 16:53:51 +0000 (16:53 +0000)
committerRussell Bryant <russell@russellbryant.com>
Mon, 21 Nov 2005 16:53:51 +0000 (16:53 +0000)
git-svn-id: https://origsvn.digium.com/svn/asterisk/branches/v1-0@7177 65c4cc65-6c06-0410-ace0-fbb531ad65f3

Makefile

index 12c8fc7916a7e23b885383544b10233e6c0b469a..08073580564a360a68129f50a9b08b55311de7ed 100755 (executable)
--- a/Makefile
+++ b/Makefile
@@ -216,6 +216,8 @@ OBJS=io.o sched.o logger.o frame.o loader.o config.o channel.o \
 ifeq (${OSARCH},Darwin)
 ASTLINK=-Wl,-dynamic
 SOLINK=-dynamic -bundle -undefined suppress -force_flat_namespace
+OBJS+= poll.o
+CFLAGS+=-DPOLLCOMPAT
 else
 ASTLINK=-Wl,-E 
 SOLINK=-shared -Xlinker -x