From: havoc Date: Mon, 3 Sep 2007 10:48:10 +0000 (+0000) Subject: WIN32: changed stricmp and strnicmp to have an underscore prefix X-Git-Tag: xonotic-v0.1.0preview~2919 X-Git-Url: https://git.rm.cloudns.org/?a=commitdiff_plain;h=96d540597b34ca1510f92c706b135780cc16c251;p=xonotic%2Fdarkplaces.git 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 --- 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