summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-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