mirror of
https://github.com/OpenTTD/OpenTTD.git
synced 2025-08-12 09:09:09 +00:00
(svn r19859) -Fix (r19853): preprocessor warning
This commit is contained in:
@@ -257,7 +257,7 @@ char *strndup(const char *s, size_t len);
|
|||||||
#endif /* !_GNU_SOURCE */
|
#endif /* !_GNU_SOURCE */
|
||||||
|
|
||||||
/* strcasestr is available for _GNU_SOURCE, BSD and some Apple */
|
/* 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
|
# undef DEFINE_STRCASESTR
|
||||||
#else
|
#else
|
||||||
# define DEFINE_STRCASESTR
|
# define DEFINE_STRCASESTR
|
||||||
|
Reference in New Issue
Block a user