summaryrefslogtreecommitdiff
path: root/include/ruby/win32.h
diff options
context:
space:
mode:
authornobu <nobu@b2dd03c8-39d4-4d8f-98ff-823fe69b080e>2007-09-28 23:57:17 +0000
committernobu <nobu@b2dd03c8-39d4-4d8f-98ff-823fe69b080e>2007-09-28 23:57:17 +0000
commitaffcfc9e7a13674736103508a26f0c7624199b8f (patch)
tree97fbf75629739cb8639ef3be709e5daf229fefbe /include/ruby/win32.h
parent8ef1027a094062b2921a6bed2e7b6e578aecd60a (diff)
* include/ruby/win32.h (strcasecmp): needed for type_strcasehash.
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@13561 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
Diffstat (limited to 'include/ruby/win32.h')
-rw-r--r--include/ruby/win32.h6
1 files changed, 3 insertions, 3 deletions
diff --git a/include/ruby/win32.h b/include/ruby/win32.h
index 4ef337d18d..9f5ccf8889 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 {