summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorFran├žois Revel <mmu_man@netsurf-browser.org>2011-01-19 01:42:54 +0000
committerFran├žois Revel <mmu_man@netsurf-browser.org>2011-01-19 01:42:54 +0000
commit3060423700996b7eca90dfd2ba746d36abdfd15b (patch)
treef96c88ada27a7d44fef2d3c188bacf84974bd487
parent6d1169e92d421855284dd27e8695e6bdf1e216f3 (diff)
downloadnetsurf-3060423700996b7eca90dfd2ba746d36abdfd15b.tar.gz
netsurf-3060423700996b7eca90dfd2ba746d36abdfd15b.tar.bz2
Remove odd WARNFLAGS copied from Atari stuff. Silence warning about redeclared strcasestr().
svn path=/trunk/netsurf/; revision=11381
-rw-r--r--Makefile.defaults5
-rw-r--r--utils/config.h2
2 files changed, 1 insertions, 6 deletions
diff --git a/Makefile.defaults b/Makefile.defaults
index 32bfe8f18..1055be515 100644
--- a/Makefile.defaults
+++ b/Makefile.defaults
@@ -377,11 +377,6 @@ ifeq ($(TARGET),cocoa)
# Optimisation levels
CFLAGS += -O2 -Wuninitialized
- WARNFLAGS = -W -Wundef -Wpointer-arith \
- -Wcast-align -Wwrite-strings -Wstrict-prototypes \
- -Wmissing-prototypes -Wmissing-declarations -Wredundant-decls \
- -Wnested-externs -Wl,-t
-
endif
# Include any local configuration
diff --git a/utils/config.h b/utils/config.h
index 058662a8c..416d642b1 100644
--- a/utils/config.h
+++ b/utils/config.h
@@ -31,7 +31,7 @@
char *strndup(const char *s, size_t n);
#endif
-#if (defined(_GNU_SOURCE))
+#if (defined(_GNU_SOURCE) || defined(__APPLE__))
#define HAVE_STRCASESTR
#else
#undef HAVE_STRCASESTR