(svn r5760) - Codechange: Use a define for case-string comparison in OS/2 instead of function.
authorDarkvater
Fri, 04 Aug 2006 23:27:36 +0000
changeset 4216 c403fc7b6e10
parent 4215 64ceec5b5f82
child 4217 58e6b9449c80
(svn r5760) - Codechange: Use a define for case-string comparison in OS/2 instead of function.
os2.c
stdafx.h
--- a/os2.c	Fri Aug 04 22:26:44 2006 +0000
+++ b/os2.c	Fri Aug 04 23:27:36 2006 +0000
@@ -25,11 +25,6 @@
 
 #include <i86.h>
 
-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;
--- a/stdafx.h	Fri Aug 04 22:26:44 2006 +0000
+++ b/stdafx.h	Fri Aug 04 23:27:36 2006 +0000
@@ -22,6 +22,7 @@
 
 #if defined(__OS2__)
 # include <types.h>
+# define strcasecmp stricmp
 #endif
 
 #ifdef __BEOS__