summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--os2.c5
-rw-r--r--stdafx.h1
2 files changed, 1 insertions, 5 deletions
diff --git a/os2.c b/os2.c
index efc42221f..03205b53d 100644
--- a/os2.c
+++ b/os2.c
@@ -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;
diff --git a/stdafx.h b/stdafx.h
index 5d32e97d4..9743818a0 100644
--- a/stdafx.h
+++ b/stdafx.h
@@ -22,6 +22,7 @@
#if defined(__OS2__)
# include <types.h>
+# define strcasecmp stricmp
#endif
#ifdef __BEOS__