small changes to get the thing to compile in linux.

git-svn-id: https://svn.code.sf.net/p/fteqw/code/trunk@165 fc73d0e0-1445-4013-8a0c-d673dee63da5
This commit is contained in:
Spoike 2004-09-07 18:26:31 +00:00
parent f98b7270f3
commit 9c6b591e51
1 changed files with 10 additions and 1 deletions

View File

@ -28,6 +28,11 @@ extern progfuncs_t *qccprogfuncs;
#define inline _inline
#endif
#ifndef _WIN32
#define stricmp strcasecmp
#define strnicmp strncasecmp
#endif
void *qccHunkAlloc(size_t mem);
extern short (*BigShort) (short l);
@ -560,8 +565,12 @@ enum {
WARN_EXTRAPRECACHE,
WARN_NOTPRECACHED,
WARN_DEADCODE,
WARN_NOTSTANDARDBEHAVIOUR,
WARN_INEFFICIENTPLUSPLUS,
WARN_FTE_SPECIFIC, //extension that only FTEQCC will have a clue about.
WARN_EXTENSION_USED, //extension that frikqcc also understands
ERR_PARSEERRORS, //caused by qcc_pr_parseerror beung called.
ERR_PARSEERRORS, //caused by qcc_pr_parseerror being called.
//these are definatly my fault...
ERR_INTERNAL,