diff options
author | Max Horn | 2011-05-23 18:32:42 +0200 |
---|---|---|
committer | Max Horn | 2011-05-23 19:12:25 +0200 |
commit | 8e3aafd30d14bcd586cc06a525e2dc2a8298c7b2 (patch) | |
tree | 63038cba9ad4d0dd72a65749ee7ac7410ac76edc /backends/platform | |
parent | 3931e1dc50ad773aa3f9d95b2810857a3e7ce943 (diff) | |
download | scummvm-rg350-8e3aafd30d14bcd586cc06a525e2dc2a8298c7b2.tar.gz scummvm-rg350-8e3aafd30d14bcd586cc06a525e2dc2a8298c7b2.tar.bz2 scummvm-rg350-8e3aafd30d14bcd586cc06a525e2dc2a8298c7b2.zip |
COMMON: Provide our own implementations for scumm_str(n)icmp
This takes up a tiny little bit of extra binary size, but gets
rid of some awful #ifdef hackery.
Diffstat (limited to 'backends/platform')
-rw-r--r-- | backends/platform/wince/missing/io.h | 1 | ||||
-rw-r--r-- | backends/platform/wince/portdefs.h | 4 |
2 files changed, 0 insertions, 5 deletions
diff --git a/backends/platform/wince/missing/io.h b/backends/platform/wince/missing/io.h index 96bc6a9ea1..de492cac68 100644 --- a/backends/platform/wince/missing/io.h +++ b/backends/platform/wince/missing/io.h @@ -1,7 +1,6 @@ /* Header is not present in Windows CE SDK */ /* This stuff will live here until port configuration file is in place */ -#define stricmp _stricmp #define strdup _strdup #ifndef _FILE_DEFINED diff --git a/backends/platform/wince/portdefs.h b/backends/platform/wince/portdefs.h index 1f8b9bb3ca..64aa80abf2 100644 --- a/backends/platform/wince/portdefs.h +++ b/backends/platform/wince/portdefs.h @@ -31,8 +31,6 @@ int isprint(int c); int isspace(int c); char *strrchr(const char *s, int c); char *strdup(const char *s); -int _stricmp(const char *string1, const char *string2); -int stricmp(const char *string1, const char *string2); void assert(void *expression); void assert(int expression); long int strtol(const char *nptr, char **endptr, int base); @@ -53,8 +51,6 @@ void GetCurrentDirectory(int len, char *buf); #include <math.h> #undef GetCurrentDirectory extern "C" void GetCurrentDirectory(int len, char *buf); -#define stricmp _stricmp -#define strnicmp _strnicmp #define snprintf _snprintf #define strdup _strdup #define fopen wce_fopen |