mirror of
https://github.com/fabiangreffrath/woof.git
synced 2025-09-23 03:52:12 -04:00
undef str[n]casecmp() before redefining them
This commit is contained in:
parent
bb584c3ba1
commit
ed888d43ac
@ -50,9 +50,11 @@ typedef byte lighttable_t;
|
|||||||
#if !HAVE_DECL_STRCASECMP || !HAVE_DECL_STRNCASECMP
|
#if !HAVE_DECL_STRCASECMP || !HAVE_DECL_STRNCASECMP
|
||||||
#include <string.h>
|
#include <string.h>
|
||||||
#if !HAVE_DECL_STRCASECMP
|
#if !HAVE_DECL_STRCASECMP
|
||||||
|
#undef strcasecmp
|
||||||
#define strcasecmp stricmp
|
#define strcasecmp stricmp
|
||||||
#endif
|
#endif
|
||||||
#if !HAVE_DECL_STRNCASECMP
|
#if !HAVE_DECL_STRNCASECMP
|
||||||
|
#undef strncasecmp
|
||||||
#define strncasecmp strnicmp
|
#define strncasecmp strnicmp
|
||||||
#endif
|
#endif
|
||||||
#else
|
#else
|
||||||
|
Loading…
x
Reference in New Issue
Block a user