# HG changeset patch # User Darkvater # Date 2006-08-04 23:27:36 # Node ID ff95c5affccc42c6b7f2e11d113d28a73fb6be8d # Parent 80c25b844c426cf7cf4b1a904b54bfcd68cfdb10 (svn r5760) - Codechange: Use a define for case-string comparison in OS/2 instead of function. diff --git a/os2.c b/os2.c --- 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 --- a/stdafx.h +++ b/stdafx.h @@ -22,6 +22,7 @@ #if defined(__OS2__) # include +# define strcasecmp stricmp #endif #ifdef __BEOS__