From 9e69df03a7c227e92c657f8d4eab45bcb98f29c0 Mon Sep 17 00:00:00 2001 From: Darkvater Date: Fri, 4 Aug 2006 23:27:36 +0000 Subject: [PATCH] (svn r5760) - Codechange: Use a define for case-string comparison in OS/2 instead of function. --- os2.c | 5 ----- stdafx.h | 1 + 2 files changed, 1 insertion(+), 5 deletions(-) diff --git a/os2.c b/os2.c index efc42221f6..03205b53dc 100644 --- a/os2.c +++ b/os2.c @@ -25,11 +25,6 @@ #include -static inline int strcasecmp(const char* s1, const char* s2) -{ - return stricmp(s1, s2); -} - static char *_fios_path; static char *_fios_save_path; static char *_fios_scn_path; diff --git a/stdafx.h b/stdafx.h index 5d32e97d4c..9743818a09 100644 --- a/stdafx.h +++ b/stdafx.h @@ -22,6 +22,7 @@ #if defined(__OS2__) # include +# define strcasecmp stricmp #endif #ifdef __BEOS__