From: David M. Lee Date: Wed, 8 May 2013 20:25:28 +0000 (+0000) Subject: Removed #if checks for crazy old versions of OS X. X-Git-Tag: 13.0.0-beta1~1832 X-Git-Url: http://git.ipfire.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=ec53d7fa87a9a4371468acc7ef67144ca0b7b545;p=thirdparty%2Fasterisk.git Removed #if checks for crazy old versions of OS X. The was introduced way back in OS X Panther, which itself was end-of-lifed back in 2007. We can assume that any OS X machine we build on will need that header file :-) Why bother removing it? The flag we're checking (__APPLE_CC__) is actually Apple's build number. Self-compiled versions of GCC (such as installing the latest version of GCC from homebrew) sets the value to 0, making it useless for this sort of compile flaggery. git-svn-id: https://origsvn.digium.com/svn/asterisk/trunk@388045 65c4cc65-6c06-0410-ace0-fbb531ad65f3 --- diff --git a/main/enum.c b/main/enum.c index 60e603d21b..d097288899 100644 --- a/main/enum.c +++ b/main/enum.c @@ -66,10 +66,8 @@ ASTERISK_FILE_VERSION(__FILE__, "$Revision$") #include #include #ifdef __APPLE__ -#if __APPLE_CC__ >= 1495 #include #endif -#endif #include #include #include diff --git a/main/srv.c b/main/srv.c index b8b2df8145..0938a0c036 100644 --- a/main/srv.c +++ b/main/srv.c @@ -40,10 +40,8 @@ ASTERISK_FILE_VERSION(__FILE__, "$Revision$") #include #include #ifdef __APPLE__ -#if __APPLE_CC__ >= 1495 #include #endif -#endif #include #include "asterisk/channel.h"