]> git.xonotic.org Git - xonotic/darkplaces.git/commitdiff
WIN32: changed stricmp and strnicmp to have an underscore prefix
authorhavoc <havoc@d7cf8633-e32d-0410-b094-e92efae38249>
Mon, 3 Sep 2007 10:48:10 +0000 (10:48 +0000)
committerhavoc <havoc@d7cf8633-e32d-0410-b094-e92efae38249>
Mon, 3 Sep 2007 10:48:10 +0000 (10:48 +0000)
git-svn-id: svn://svn.icculus.org/twilight/trunk/darkplaces@7556 d7cf8633-e32d-0410-b094-e92efae38249

common.h

index 47e62f937a8eca73b7915194e4307d6536be9294..47f62bb9cf52b678c2355d9c01f9c3befd24b290 100644 (file)
--- 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