diff options
author | Darkvater <darkvater@openttd.org> | 2006-08-04 23:27:36 +0000 |
---|---|---|
committer | Darkvater <darkvater@openttd.org> | 2006-08-04 23:27:36 +0000 |
commit | 9e69df03a7c227e92c657f8d4eab45bcb98f29c0 (patch) | |
tree | 1c85678bd0d7c25159094420fe8547024b578ee2 | |
parent | 2ad99348bf078a33e8c74d0cc56316d39de999bc (diff) | |
download | openttd-9e69df03a7c227e92c657f8d4eab45bcb98f29c0.tar.xz |
(svn r5760) - Codechange: Use a define for case-string comparison in OS/2 instead of function.
-rw-r--r-- | os2.c | 5 | ||||
-rw-r--r-- | stdafx.h | 1 |
2 files changed, 1 insertions, 5 deletions
@@ -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; @@ -22,6 +22,7 @@ #if defined(__OS2__) # include <types.h> +# define strcasecmp stricmp #endif #ifdef __BEOS__ |