changeset 15225:2a006637434c draft

(svn r19859) -Fix (r19853): preprocessor warning
author glx <glx@openttd.org>
date Wed, 19 May 2010 17:04:02 +0000
parents 2592b701a4f2
children 28c7e68c8ac2
files src/string_func.h
diffstat 1 files changed, 1 insertions(+), 1 deletions(-) [+]
line wrap: on
line diff
--- a/src/string_func.h
+++ b/src/string_func.h
@@ -257,7 +257,7 @@
 #endif /* !_GNU_SOURCE */
 
 /* strcasestr is available for _GNU_SOURCE, BSD and some Apple */
-#if defined(_GNU_SOURCE) || (defined(__BSD_VISIBLE) && __BSD_VISIBLE) || (defined(__APPLE__) && (!defined(_POSIX_C_SOURCE) || defined(_DARWIN_C_SOURCE))) || _NETBSD_SOURCE
+#if defined(_GNU_SOURCE) || (defined(__BSD_VISIBLE) && __BSD_VISIBLE) || (defined(__APPLE__) && (!defined(_POSIX_C_SOURCE) || defined(_DARWIN_C_SOURCE))) || defined(_NETBSD_SOURCE)
 #	undef DEFINE_STRCASESTR
 #else
 #	define DEFINE_STRCASESTR