From 3688b7bca529cc53b08730b55ef2bc548fb1eaba Mon Sep 17 00:00:00 2001 From: Spoike Date: Wed, 11 Oct 2006 23:04:31 +0000 Subject: [PATCH] Make QTV more portable. git-svn-id: https://svn.code.sf.net/p/fteqw/code/trunk@2405 fc73d0e0-1445-4013-8a0c-d673dee63da5 --- fteqtv/qtv.h | 6 ++++++ 1 file changed, 6 insertions(+) diff --git a/fteqtv/qtv.h b/fteqtv/qtv.h index fd281d3e9..63245d3c1 100644 --- a/fteqtv/qtv.h +++ b/fteqtv/qtv.h @@ -131,6 +131,12 @@ Foundation, Inc., 59 Temple Place - Suite 330, Boston, MA 02111-1307, USA. #include #include +#ifndef _WIN32 +//stricmp is ansi, strcasecmp is unix. + #define stricmp strcasecmp + #define strnicmp strncasecmp +#endif + //linux and other systems have strlcat / strlcpy //we support windows and can't use those