Skip to content
Snippets Groups Projects
Commit 5cf1c127 authored by Kevin P. Fleming's avatar Kevin P. Fleming
Browse files

it appears that current Mac OS/X does not need the poll compatibility module...

it appears that current Mac OS/X does not need the poll compatibility module at all, and platforms that do need it also need -DPOLLCOMPAT (or they wouldn't have compiled at all)


git-svn-id: https://origsvn.digium.com/svn/asterisk/trunk@43207 65c4cc65-6c06-0410-ace0-fbb531ad65f3
parent 2498ba75
No related branches found
No related tags found
No related merge requests found
......@@ -39,6 +39,7 @@ OBJS+=say.o
ifeq ($(wildcard /usr/include/sys/poll.h),)
OBJS+=poll.o
ASTCFLAGS+=-DPOLLCOMPAT
endif
ifeq ($(wildcard /usr/include/dlfcn.h),)
......@@ -59,11 +60,6 @@ ifneq ($(findstring darwin,$(OSARCH)),)
ifneq ($(findstring LOADABLE_MODULES,$(MENUSELECT_CFLAGS)),)
ASTLINK=-Wl,-dynamic
endif
# Mac on Intel CoreDuo does not need poll compatibility layer
ifneq ($(PROC),i386)
OBJS+=poll.o
ASTCFLAGS+=-DPOLLCOMPAT
endif
else
# These are used for all but Darwin
ifneq ($(findstring LOADABLE_MODULES,$(MENUSELECT_CFLAGS)),)
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment