diff --git a/plugins/plugin.h b/plugins/plugin.h index d79cbe13f..f948ad0ad 100644 --- a/plugins/plugin.h +++ b/plugins/plugin.h @@ -49,12 +49,19 @@ float atof(char *str); int atoi(char *str); #define strcasecmp stricmp +#define strncasecmp stricmp void BadBuiltin(void); #else +#ifdef _WIN32 #define strcasecmp stricmp +#define strncasecmp strnicmp +#else +#define stricmp strcasecmp +#define strnicmp strncasecmp +#endif #include #include