[Scummvm-cvs-logs] CVS: scummvm/common scummsys.h,1.30,1.31

Jonathan Gray khalek at users.sourceforge.net
Thu Jul 24 07:48:37 CEST 2003


Update of /cvsroot/scummvm/scummvm/common
In directory sc8-pr-cvs1:/tmp/cvs-serv23135

Modified Files:
	scummsys.h 
Log Message:
scumm_strnicmp

Index: scummsys.h
===================================================================
RCS file: /cvsroot/scummvm/scummvm/common/scummsys.h,v
retrieving revision 1.30
retrieving revision 1.31
diff -u -d -r1.30 -r1.31
--- scummsys.h	13 Jul 2003 12:15:43 -0000	1.30
+++ scummsys.h	24 Jul 2003 14:47:48 -0000	1.31
@@ -40,6 +40,7 @@
 	//#pragma warning (disable: 4101)
 
 	#define scumm_stricmp stricmp
+	#define scumm_strnicmp strnicmp
 	#define snprintf _snprintf
 
 	#if defined(CHECK_HEAP)
@@ -76,6 +77,7 @@
 #elif defined(__MINGW32__)
 
 	#define scumm_stricmp stricmp
+	#define scumm_strnicmp strnicmp
 	#define CHECK_HEAP
 	#define SCUMM_LITTLE_ENDIAN
 
@@ -99,6 +101,7 @@
 #elif defined(UNIX)
 
 	#define scumm_stricmp strcasecmp
+	#define scumm_strnicmp strncasecmp
 
 	#define CHECK_HEAP
 
@@ -161,6 +164,7 @@
 	
 	#define __PALM_OS__
 	#define scumm_stricmp stricmp// FIXME - this is definitly wrong. Try strcasecmp?
+	#define scumm_strnicmp strnicmp// FIXME - this is definitly wrong. Try strncasecmp?
 	
 	#define CHECK_HEAP
 	#define SCUMM_BIG_ENDIAN
@@ -219,6 +223,7 @@
 
 #elif defined(__MORPHOS__)
 	#define scumm_stricmp stricmp
+	#define scumm_strnicmp strnicmp
 	#define CHECK_HEAP
 
 	#define SCUMM_BIG_ENDIAN
@@ -252,6 +257,7 @@
 #elif defined(__DC__)
 
 	#define scumm_stricmp strcasecmp
+	#define scumm_strnicmp strncasecmp
 	#define CHECK_HEAP
 	#define SCUMM_LITTLE_ENDIAN
 	#define SCUMM_NEED_ALIGNMENT
@@ -279,6 +285,7 @@
 	#define SCUMM_LITTLE_ENDIAN 
 
 	#define scumm_stricmp stricmp
+	#define scumm_strnicmp strnicmp
 	#define CHECK_HEAP
 
 	#define FORCEINLINE inline





More information about the Scummvm-git-logs mailing list