diff options
author | glx <glx@openttd.org> | 2010-05-19 17:04:02 +0000 |
---|---|---|
committer | glx <glx@openttd.org> | 2010-05-19 17:04:02 +0000 |
commit | 45cb7fe55c56b3bdbb323357f7693ccba3d49453 (patch) | |
tree | ec67df5fb8fab3985df4cc0d565f1dbd2cd56e02 | |
parent | 2de9e2d16b058971bf22e18062fc26278098dfb0 (diff) | |
download | openttd-45cb7fe55c56b3bdbb323357f7693ccba3d49453.tar.xz |
(svn r19859) -Fix (r19853): preprocessor warning
-rw-r--r-- | src/string_func.h | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/src/string_func.h b/src/string_func.h index 942873593..7787ee57c 100644 --- a/src/string_func.h +++ b/src/string_func.h @@ -257,7 +257,7 @@ char *strndup(const char *s, size_t len); #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 |