summaryrefslogtreecommitdiff
path: root/io.c
diff options
context:
space:
mode:
authoryugui <yugui@b2dd03c8-39d4-4d8f-98ff-823fe69b080e>2011-05-29 22:49:45 +0000
committeryugui <yugui@b2dd03c8-39d4-4d8f-98ff-823fe69b080e>2011-05-29 22:49:45 +0000
commit48a3fa9005550e65ae9e21c794067d7d3b448d37 (patch)
treeb9d8ab78a8b5db97aa1e73035acf1719baa48366 /io.c
parentca0ac3e3c9a554afaaa632f98d7e2e3f151d90f4 (diff)
merges r31272 from trunk into ruby_1_9_2.
-- * io.c (rb_f_syscall): reduce warning: "HAVE___SYSCALL" is not defined. git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/branches/ruby_1_9_2@31800 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
Diffstat (limited to 'io.c')
-rw-r--r--io.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/io.c b/io.c
index c62ae6ab6b..744da5c4bb 100644
--- a/io.c
+++ b/io.c
@@ -7544,7 +7544,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)