Make QTV more portable.

git-svn-id: https://svn.code.sf.net/p/fteqw/code/trunk@2405 fc73d0e0-1445-4013-8a0c-d673dee63da5
This commit is contained in:
Spoike 2006-10-11 23:04:31 +00:00
parent 321b2689e3
commit 3688b7bca5

View file

@ -131,6 +131,12 @@ Foundation, Inc., 59 Temple Place - Suite 330, Boston, MA 02111-1307, USA.
#include <stdio.h> #include <stdio.h>
#include <string.h> #include <string.h>
#ifndef _WIN32
//stricmp is ansi, strcasecmp is unix.
#define stricmp strcasecmp
#define strnicmp strncasecmp
#endif
//linux and other systems have strlcat / strlcpy //linux and other systems have strlcat / strlcpy
//we support windows and can't use those //we support windows and can't use those