aboutsummaryrefslogtreecommitdiffstats
path: root/utils.c
diff options
context:
space:
mode:
authorkpfleming <kpfleming@f38db490-d61c-443f-a65b-d21fe96a405b>2005-07-15 15:37:58 +0000
committerkpfleming <kpfleming@f38db490-d61c-443f-a65b-d21fe96a405b>2005-07-15 15:37:58 +0000
commitc4670d0b063ba483398ec6f6c6fc943c1cd57953 (patch)
tree1a05b6deab5c942d58fe1ed8baa7363838ba6147 /utils.c
parent2b92e31a0e5d125a57d2273d48838eb70378677b (diff)
more ifdef cleanup to match proper Linux macros
git-svn-id: http://svn.digium.com/svn/asterisk/trunk@6135 f38db490-d61c-443f-a65b-d21fe96a405b
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__ */