/contrib/sdk/sources/newlib/libc/string/strcasestr.c |
---|
84,6 → 84,10 |
(!memchr ((h) + (h_l), '\0', (j) + (n_l) - (h_l)) \ |
&& ((h_l) = (j) + (n_l))) |
# define CANON_ELEMENT(c) tolower (c) |
#if __GNUC_PREREQ (4, 2) |
/* strncasecmp uses signed char, CMP_FUNC is expected to use unsigned char. */ |
#pragma GCC diagnostic ignored "-Wpointer-sign" |
#endif |
# define CMP_FUNC strncasecmp |
# include "str-two-way.h" |
#endif |