aboutsummaryrefslogtreecommitdiff
path: root/common
diff options
context:
space:
mode:
authorJonathan Gray2003-07-24 14:47:48 +0000
committerJonathan Gray2003-07-24 14:47:48 +0000
commita8bffdf1c92000eb5a9bbe31a6f9d9448a816030 (patch)
treea0fd5af9232d25ff090251e5939e92003d247c69 /common
parent635fea9b178825a404cb6aec5a389ed3d66afc8f (diff)
downloadscummvm-rg350-a8bffdf1c92000eb5a9bbe31a6f9d9448a816030.tar.gz
scummvm-rg350-a8bffdf1c92000eb5a9bbe31a6f9d9448a816030.tar.bz2
scummvm-rg350-a8bffdf1c92000eb5a9bbe31a6f9d9448a816030.zip
scumm_strnicmp
svn-id: r9168
Diffstat (limited to 'common')
-rw-r--r--common/scummsys.h7
1 files changed, 7 insertions, 0 deletions
diff --git a/common/scummsys.h b/common/scummsys.h
index 5faffb8ca0..3a342a53e7 100644
--- a/common/scummsys.h
+++ b/common/scummsys.h
@@ -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