diff --git a/engine/common/bothdefs.h b/engine/common/bothdefs.h index 4d2b09fa0..ff3c33335 100644 --- a/engine/common/bothdefs.h +++ b/engine/common/bothdefs.h @@ -783,14 +783,16 @@ Foundation, Inc., 59 Temple Place - Suite 330, Boston, MA 02111-1307, USA. #define FTE_UNREACHABLE Sys_Error("Unreachable reached: %s %i\n", __FILE__, __LINE__) #endif -#ifdef _WIN32 - //Windows-specific... - #define stricmp _stricmp - #define strnicmp _strnicmp -#else - //Posix - #define stricmp strcasecmp - #define strnicmp strncasecmp +#ifndef stricmp + #ifdef _WIN32 + //Windows-specific... + #define stricmp _stricmp + #define strnicmp _strnicmp + #else + //Posix + #define stricmp strcasecmp + #define strnicmp strncasecmp + #endif #endif