Re-add explicit poll support for Darwin, as without it, rasterisk (or asterisk -r...
authorJosh Roberson <josh@asteriasgi.com>
Mon, 21 Nov 2005 15:09:31 +0000 (15:09 +0000)
committerJosh Roberson <josh@asteriasgi.com>
Mon, 21 Nov 2005 15:09:31 +0000 (15:09 +0000)
git-svn-id: https://origsvn.digium.com/svn/asterisk/trunk@7172 65c4cc65-6c06-0410-ace0-fbb531ad65f3

ChangeLog
Makefile

index 7675e7b..9115764 100755 (executable)
--- a/ChangeLog
+++ b/ChangeLog
@@ -1,3 +1,7 @@
+2005-11-21  Josh Roberson <josh@asteriasgi.com>
+
+       * Makefile: Re-fix Darwin poll issues. 
+
 2005-11-21  Russell Bryant  <russell@digium.com>
 
        * apps/app_osplookup.c: Properly populate the number of results. (issue #5789)
index 82d2074..69e57fe 100755 (executable)
--- a/Makefile
+++ b/Makefile
@@ -363,6 +363,8 @@ ifeq ($(OSARCH),Darwin)
   AUDIO_LIBS=-framework CoreAudio
   ASTLINK=-Wl,-dynamic
   SOLINK=-dynamic -bundle -undefined suppress -force_flat_namespace
+  OBJS+=poll.o
+  ASTCFLAGS+=-DPOLLCOMPAT
 else
 #These are used for all but Darwin
   ASTLINK=-Wl,-E