From 44aff84c2e7ec9cbf2272165850d5d820bbfabb3 Mon Sep 17 00:00:00 2001 From: "Kevin P. Fleming" Date: Mon, 26 Sep 2005 17:17:56 +0000 Subject: 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 --- include/asterisk/channel.h | 2 +- include/asterisk/io.h | 2 +- 2 files changed, 2 insertions(+), 2 deletions(-) (limited to 'include/asterisk') 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 #include -#if defined(__APPLE__) +#ifdef POLLCOMPAT #include "asterisk/poll-compat.h" #else #include 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 /* For POLL* constants */ -- cgit v1.2.3