diff options
author | nobu <nobu@b2dd03c8-39d4-4d8f-98ff-823fe69b080e> | 2007-09-28 23:57:17 +0000 |
---|---|---|
committer | nobu <nobu@b2dd03c8-39d4-4d8f-98ff-823fe69b080e> | 2007-09-28 23:57:17 +0000 |
commit | 21b9680f481c83237418f8f93dc746e6f301ae7f (patch) | |
tree | 97fbf75629739cb8639ef3be709e5daf229fefbe | |
parent | 38cd97243df4a8479e62dc36a897e2f3fd34f400 (diff) | |
download | ruby-21b9680f481c83237418f8f93dc746e6f301ae7f.tar.gz ruby-21b9680f481c83237418f8f93dc746e6f301ae7f.tar.xz ruby-21b9680f481c83237418f8f93dc746e6f301ae7f.zip |
* include/ruby/win32.h (strcasecmp): needed for type_strcasehash.
git-svn-id: http://svn.ruby-lang.org/repos/ruby/trunk@13561 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
-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 { |