summaryrefslogtreecommitdiff
path: root/include/ruby
diff options
context:
space:
mode:
authornobu <nobu@b2dd03c8-39d4-4d8f-98ff-823fe69b080e>2009-03-10 10:58:49 +0000
committernobu <nobu@b2dd03c8-39d4-4d8f-98ff-823fe69b080e>2009-03-10 10:58:49 +0000
commit0641a4d83e6580bf98a09cef4073b541e0bb4929 (patch)
treeb3f8040755b79d4b5a6979243231be2c2a0d5bcb /include/ruby
parent5bfb9a63b7e2d440a459bdd0c09c22919bbf53ec (diff)
* include/ruby/win32.h (strcasecmp, strncasecmp): use _ prefixed
versions to suppress warnings. git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@22876 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
Diffstat (limited to 'include/ruby')
-rw-r--r--include/ruby/win32.h4
1 files changed, 2 insertions, 2 deletions
diff --git a/include/ruby/win32.h b/include/ruby/win32.h
index 6190c73d84..a7d07083af 100644
--- a/include/ruby/win32.h
+++ b/include/ruby/win32.h
@@ -185,8 +185,8 @@ extern int rb_w32_stat(const char *, struct stat *);
extern int rb_w32_fstat(int, struct stat *);
#endif
-#define strcasecmp stricmp
-#define strncasecmp strnicmp
+#define strcasecmp _stricmp
+#define strncasecmp _strnicmp
#define fsync _commit
#ifdef __MINGW32__