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:
parent
321b2689e3
commit
3688b7bca5
1 changed files with 6 additions and 0 deletions
|
@ -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
|
||||||
|
|
Loading…
Reference in a new issue