mirror of
https://github.com/netsurf-browser/netsurf
synced 2025-02-23 09:54:19 +03:00
Remove odd WARNFLAGS copied from Atari stuff. Silence warning about redeclared strcasestr().
svn path=/trunk/netsurf/; revision=11381
This commit is contained in:
parent
6d1169e92d
commit
3060423700
@ -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
|
||||
|
@ -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
|
||||
|
Loading…
x
Reference in New Issue
Block a user