mirror of
https://github.com/ruby/ruby.git
synced 2022-11-09 12:17:21 -05:00
* 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
This commit is contained in:
parent
5bfb9a63b7
commit
0641a4d83e
2 changed files with 6 additions and 3 deletions
|
@ -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__
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue