ruby-changes:19233
From: kazu <ko1@a...>
Date: Fri, 15 Apr 2011 16:40:06 +0900 (JST)
Subject: [ruby-changes:19233] Ruby:r31272 (trunk): * io.c (rb_f_syscall): reduce warning: "HAVE___SYSCALL" is not defined.
kazu 2011-04-14 16:02:54 +0900 (Thu, 14 Apr 2011) New Revision: 31272 http://svn.ruby-lang.org/cgi-bin/viewvc.cgi?view=rev&revision=31272 Log: * io.c (rb_f_syscall): reduce warning: "HAVE___SYSCALL" is not defined. Modified files: trunk/ChangeLog trunk/io.c Index: ChangeLog =================================================================== --- ChangeLog (revision 31271) +++ ChangeLog (revision 31272) @@ -1,3 +1,7 @@ +Thu Apr 14 16:01:45 2011 Kazuhiro NISHIYAMA <zn@m...> + + * io.c (rb_f_syscall): reduce warning: "HAVE___SYSCALL" is not defined. + Thu Apr 14 00:41:09 2011 CHIKANAGA Tomoyuki <nagachika00@g...> * thread.c (thread_fd_close_i): IOError exception should be assigned Index: io.c =================================================================== --- io.c (revision 31271) +++ io.c (revision 31272) @@ -7853,7 +7853,7 @@ #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) -- ML: ruby-changes@q... Info: http://www.atdot.net/~ko1/quickml/