From 96d540597b34ca1510f92c706b135780cc16c251 Mon Sep 17 00:00:00 2001 From: havoc Date: Mon, 3 Sep 2007 10:48:10 +0000 Subject: [PATCH] WIN32: changed stricmp and strnicmp to have an underscore prefix git-svn-id: svn://svn.icculus.org/twilight/trunk/darkplaces@7556 d7cf8633-e32d-0410-b094-e92efae38249 --- common.h | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/common.h b/common.h index 47e62f93..47f62bb9 100644 --- a/common.h +++ b/common.h @@ -27,8 +27,8 @@ Foundation, Inc., 59 Temple Place - Suite 330, Boston, MA 02111-1307, USA. // MSVC has a different name for several standard functions #ifdef WIN32 -# define strcasecmp stricmp -# define strncasecmp strnicmp +# define strcasecmp _stricmp +# define strncasecmp _strnicmp #endif // Create our own define for Mac OS X -- 2.39.2