mirror of
https://github.com/fabiangreffrath/woof.git
synced 2025-09-20 10:13:13 -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
|
||||
#include <string.h>
|
||||
#if !HAVE_DECL_STRCASECMP
|
||||
#undef strcasecmp
|
||||
#define strcasecmp stricmp
|
||||
#endif
|
||||
#if !HAVE_DECL_STRNCASECMP
|
||||
#undef strncasecmp
|
||||
#define strncasecmp strnicmp
|
||||
#endif
|
||||
#else
|
||||
|
Loading…
x
Reference in New Issue
Block a user