Changeset - r15215:94de5eb4da78
[Not reviewed]
master
0 1 0
glx - 14 years ago 2010-05-19 17:04:02
glx@openttd.org
(svn r19859) -Fix (r19853): preprocessor warning
1 file changed with 1 insertions and 1 deletions:
0 comments (0 inline, 0 general)
src/string_func.h
Show inline comments
 
@@ -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
0 comments (0 inline, 0 general)