From acf412a38709fae4ef744dc3f1f767f9ef398cab Mon Sep 17 00:00:00 2001 From: kpfleming 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: http://svn.digium.com/svn/asterisk/trunk@6664 f38db490-d61c-443f-a65b-d21fe96a405b --- 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