diff options
| author | yugui <yugui@b2dd03c8-39d4-4d8f-98ff-823fe69b080e> | 2011-05-29 22:49:45 +0000 |
|---|---|---|
| committer | yugui <yugui@b2dd03c8-39d4-4d8f-98ff-823fe69b080e> | 2011-05-29 22:49:45 +0000 |
| commit | 48a3fa9005550e65ae9e21c794067d7d3b448d37 (patch) | |
| tree | b9d8ab78a8b5db97aa1e73035acf1719baa48366 | |
| parent | ca0ac3e3c9a554afaaa632f98d7e2e3f151d90f4 (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
| -rw-r--r-- | ChangeLog | 4 | ||||
| -rw-r--r-- | io.c | 2 | ||||
| -rw-r--r-- | version.h | 2 |
3 files changed, 6 insertions, 2 deletions
@@ -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. + Tue Apr 12 19:19:50 2011 NARUSE, Yui <naruse@ruby-lang.org> * lib/uri/common.rb: avoid race condition. fixes #4572 @@ -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) @@ -1,5 +1,5 @@ #define RUBY_VERSION "1.9.2" -#define RUBY_PATCHLEVEL 227 +#define RUBY_PATCHLEVEL 228 #define RUBY_VERSION_MAJOR 1 #define RUBY_VERSION_MINOR 9 #define RUBY_VERSION_TEENY 1 |
