forked from fte/fteqw
1
0
Fork 0

tiny tweak to help out on linux.

git-svn-id: https://svn.code.sf.net/p/fteqw/code/trunk@4473 fc73d0e0-1445-4013-8a0c-d673dee63da5
This commit is contained in:
Spoike 2013-09-08 19:01:12 +00:00
parent 492c7dd3bf
commit eec7dba110
1 changed files with 7 additions and 0 deletions

View File

@ -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 <string.h>
#include <stdlib.h>