зеркало из https://github.com/github/ruby.git
* io.c (rb_f_syscall): reduce warning: "HAVE___SYSCALL" is not defined.
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@31272 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
This commit is contained in:
Родитель
b642a73820
Коммит
fb7f3bf37c
|
@ -1,3 +1,7 @@
|
|||
Thu Apr 14 16:01:45 2011 Kazuhiro NISHIYAMA <zn@mbf.nifty.com>
|
||||
|
||||
* io.c (rb_f_syscall): reduce warning: "HAVE___SYSCALL" is not defined.
|
||||
|
||||
Thu Apr 14 00:41:09 2011 CHIKANAGA Tomoyuki <nagachika00@gmail.com>
|
||||
|
||||
* thread.c (thread_fd_close_i): IOError exception should be assigned
|
||||
|
|
2
io.c
2
io.c
|
@ -7853,7 +7853,7 @@ rb_f_syscall(int argc, VALUE *argv)
|
|||
#else
|
||||
VALUE arg[8];
|
||||
#endif
|
||||
#if SIZEOF_VOIDP == 8 && HAVE___SYSCALL && SIZEOF_INT != 8 /* mainly *BSD */
|
||||
#if SIZEOF_VOIDP == 8 && defined(HAVE___SYSCALL) && SIZEOF_INT != 8 /* mainly *BSD */
|
||||
# define SYSCALL __syscall
|
||||
# define NUM2SYSCALLID(x) NUM2LONG(x)
|
||||
# define RETVAL2NUM(x) LONG2NUM(x)
|
||||
|
|
Загрузка…
Ссылка в новой задаче