diff options
author | nobu <nobu@b2dd03c8-39d4-4d8f-98ff-823fe69b080e> | 2009-03-10 10:58:49 +0000 |
---|---|---|
committer | nobu <nobu@b2dd03c8-39d4-4d8f-98ff-823fe69b080e> | 2009-03-10 10:58:49 +0000 |
commit | 0641a4d83e6580bf98a09cef4073b541e0bb4929 (patch) | |
tree | b3f8040755b79d4b5a6979243231be2c2a0d5bcb /include | |
parent | 5bfb9a63b7e2d440a459bdd0c09c22919bbf53ec (diff) | |
download | ruby-0641a4d83e6580bf98a09cef4073b541e0bb4929.tar.gz |
* 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')
-rw-r--r-- | include/ruby/win32.h | 4 |
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__ |