mirror of
https://github.com/ruby/ruby.git
synced 2022-11-09 12:17:21 -05:00
* include/ruby/win32.h (strcasecmp): needed for type_strcasehash.
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@13561 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
This commit is contained in:
parent
8ef1027a09
commit
affcfc9e7a
2 changed files with 7 additions and 3 deletions
|
@ -1,3 +1,7 @@
|
|||
Sat Sep 29 08:57:15 2007 Nobuyoshi Nakada <nobu@ruby-lang.org>
|
||||
|
||||
* include/ruby/win32.h (strcasecmp): needed for type_strcasehash.
|
||||
|
||||
Sat Sep 29 06:47:29 2007 Nobuyoshi Nakada <nobu@ruby-lang.org>
|
||||
|
||||
* ruby.c (struct cmdline_options): static variables packed.
|
||||
|
|
|
@ -192,9 +192,9 @@ extern int rb_w32_stat(const char *, struct stat *);
|
|||
extern int rb_w32_fstat(int, struct stat *);
|
||||
#endif
|
||||
|
||||
#define strcasecmp(s1, s2) stricmp(s1, s2)
|
||||
#define strncasecmp(s1, s2, n) strnicmp(s1, s2, n)
|
||||
#define fsync(h) _commit(h)
|
||||
#define strcasecmp stricmp
|
||||
#define strncasecmp strnicmp
|
||||
#define fsync _commit
|
||||
|
||||
#ifdef __MINGW32__
|
||||
struct timezone {
|
||||
|
|
Loading…
Reference in a new issue