summaryrefslogtreecommitdiffstats
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
commit70eb64a941f9766449eb55040a8bad6e05ac98c6 (patch)
treeb3f8040755b79d4b5a6979243231be2c2a0d5bcb /include/ruby
parenta8cb6c5f9e9c8bd9ece95a5649ed935aff96c867 (diff)
downloadruby-70eb64a941f9766449eb55040a8bad6e05ac98c6.tar.gz
ruby-70eb64a941f9766449eb55040a8bad6e05ac98c6.tar.xz
ruby-70eb64a941f9766449eb55040a8bad6e05ac98c6.zip
* include/ruby/win32.h (strcasecmp, strncasecmp): use _ prefixed
versions to suppress warnings. git-svn-id: http://svn.ruby-lang.org/repos/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 6190c73d8..a7d07083a 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__