diff options
-rw-r--r-- | ChangeLog | 4 | ||||
-rw-r--r-- | include/ruby/win32.h | 6 |
2 files changed, 7 insertions, 3 deletions
@@ -1,3 +1,7 @@ +Sat Sep 29 08:57:15 2007 Nobuyoshi Nakada <nobu@ruby-lang.org> + + * include/ruby/win32.h (strcasecmp): needed for type_strcasehash. + Sat Sep 29 06:47:29 2007 Nobuyoshi Nakada <nobu@ruby-lang.org> * ruby.c (struct cmdline_options): static variables packed. diff --git a/include/ruby/win32.h b/include/ruby/win32.h index 4ef337d18..9f5ccf888 100644 --- a/include/ruby/win32.h +++ b/include/ruby/win32.h @@ -192,9 +192,9 @@ extern int rb_w32_stat(const char *, struct stat *); extern int rb_w32_fstat(int, struct stat *); #endif -#define strcasecmp(s1, s2) stricmp(s1, s2) -#define strncasecmp(s1, s2, n) strnicmp(s1, s2, n) -#define fsync(h) _commit(h) +#define strcasecmp stricmp +#define strncasecmp strnicmp +#define fsync _commit #ifdef __MINGW32__ struct timezone { |