diff --git a/src/doomtype.h b/src/doomtype.h index dae2d4ef..1bb167b8 100644 --- a/src/doomtype.h +++ b/src/doomtype.h @@ -50,9 +50,11 @@ typedef byte lighttable_t; #if !HAVE_DECL_STRCASECMP || !HAVE_DECL_STRNCASECMP #include #if !HAVE_DECL_STRCASECMP + #undef strcasecmp #define strcasecmp stricmp #endif #if !HAVE_DECL_STRNCASECMP + #undef strncasecmp #define strncasecmp strnicmp #endif #else