summaryrefslogtreecommitdiff
path: root/utils.c
diff options
context:
space:
mode:
authorKevin P. Fleming <kpfleming@digium.com>2005-07-15 15:37:58 +0000
committerKevin P. Fleming <kpfleming@digium.com>2005-07-15 15:37:58 +0000
commit494d253efeae5c79a7046466b13005120325ca15 (patch)
tree1a05b6deab5c942d58fe1ed8baa7363838ba6147 /utils.c
parent937740bd899f25c1f61a186a8521a924d2336789 (diff)
more ifdef cleanup to match proper Linux macros
git-svn-id: https://origsvn.digium.com/svn/asterisk/trunk@6135 65c4cc65-6c06-0410-ace0-fbb531ad65f3
Diffstat (limited to 'utils.c')
-rwxr-xr-xutils.c5
1 files changed, 1 insertions, 4 deletions
diff --git a/utils.c b/utils.c
index b8891d417..ba0b476bb 100755
--- a/utils.c
+++ b/utils.c
@@ -9,9 +9,6 @@
* the GNU General Public License
*/
-#ifdef Linux /* For strcasestr */
-#define __USE_GNU
-#endif
#include <ctype.h>
#include <string.h>
#include <unistd.h>
@@ -559,4 +556,4 @@ char *ast_strndup(const char *s, size_t n)
return memcpy(new, s, len);
}
-#endif /* !LINUX */
+#endif /* !__linux__ */