summaryrefslogtreecommitdiff
path: root/include/asterisk
diff options
context:
space:
mode:
authorKevin P. Fleming <kpfleming@digium.com>2005-09-26 17:17:56 +0000
committerKevin P. Fleming <kpfleming@digium.com>2005-09-26 17:17:56 +0000
commit44aff84c2e7ec9cbf2272165850d5d820bbfabb3 (patch)
treea0a2ade13aca9537da0534216037aca04bc1a3ff /include/asterisk
parentf68285950b8e9ef520c83f73872cd9d37eeac05d (diff)
use a more generic means to decide whether we need to provide poll/dlfcn functionality (issue #5297)
git-svn-id: https://origsvn.digium.com/svn/asterisk/trunk@6664 65c4cc65-6c06-0410-ace0-fbb531ad65f3
Diffstat (limited to 'include/asterisk')
-rwxr-xr-xinclude/asterisk/channel.h2
-rwxr-xr-xinclude/asterisk/io.h2
2 files changed, 2 insertions, 2 deletions
diff --git a/include/asterisk/channel.h b/include/asterisk/channel.h
index 4e9d2b39a..67b32b1b8 100755
--- a/include/asterisk/channel.h
+++ b/include/asterisk/channel.h
@@ -31,7 +31,7 @@
#include <unistd.h>
#include <setjmp.h>
-#if defined(__APPLE__)
+#ifdef POLLCOMPAT
#include "asterisk/poll-compat.h"
#else
#include <sys/poll.h>
diff --git a/include/asterisk/io.h b/include/asterisk/io.h
index a9be35703..8bda98a2b 100755
--- a/include/asterisk/io.h
+++ b/include/asterisk/io.h
@@ -23,7 +23,7 @@
#ifndef _ASTERISK_IO_H
#define _ASTERISK_IO_H
-#ifdef __APPLE__
+#ifdef POLLCOMPAT
#include "asterisk/poll-compat.h"
#else
#include <sys/poll.h> /* For POLL* constants */