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
|
@ -1,4 +1,7 @@
|
||||||
Tue Mar 10 19:40:06 2009 Nobuyoshi Nakada <nobu@ruby-lang.org>
|
Tue Mar 10 19:58:52 2009 Nobuyoshi Nakada <nobu@ruby-lang.org>
|
||||||
|
|
||||||
|
* include/ruby/win32.h (strcasecmp, strncasecmp): use _ prefixed
|
||||||
|
versions to suppress warnings.
|
||||||
|
|
||||||
* ext/dl/callback/mkcallback.rb (DLTYPE[FLOAT]): cast to suppress
|
* ext/dl/callback/mkcallback.rb (DLTYPE[FLOAT]): cast to suppress
|
||||||
warnings. [ruby-core:22792]
|
warnings. [ruby-core:22792]
|
||||||
|
|
|
@ -185,8 +185,8 @@ extern int rb_w32_stat(const char *, struct stat *);
|
||||||
extern int rb_w32_fstat(int, struct stat *);
|
extern int rb_w32_fstat(int, struct stat *);
|
||||||
#endif
|
#endif
|
||||||
|
|
||||||
#define strcasecmp stricmp
|
#define strcasecmp _stricmp
|
||||||
#define strncasecmp strnicmp
|
#define strncasecmp _strnicmp
|
||||||
#define fsync _commit
|
#define fsync _commit
|
||||||
|
|
||||||
#ifdef __MINGW32__
|
#ifdef __MINGW32__
|
||||||
|
|
Loading…
Add table
Add a link
Reference in a new issue