diff options
author | usa <usa@b2dd03c8-39d4-4d8f-98ff-823fe69b080e> | 2014-01-29 09:53:36 +0000 |
---|---|---|
committer | usa <usa@b2dd03c8-39d4-4d8f-98ff-823fe69b080e> | 2014-01-29 09:53:36 +0000 |
commit | e228a4a3457b1a39cb454c9d86643aee481c7192 (patch) | |
tree | 8ec21b63d1edc911a61b571ee7a89e3f2049fd98 | |
parent | 322610cb37327860396979507c54bb4964fc237f (diff) |
* enumerator.c (enumerator_with_index_i): add the declaration of
rb_int_succ(). this fixes test failure on OS X introduced at r44745.
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/branches/ruby_1_9_3@44748 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
-rw-r--r-- | ChangeLog | 5 | ||||
-rw-r--r-- | enumerator.c | 2 | ||||
-rw-r--r-- | version.h | 2 |
3 files changed, 8 insertions, 1 deletions
@@ -1,3 +1,8 @@ +Wed Jan 29 18:52:09 2014 NAKAMURA Usaku <usa@ruby-lang.org> + + * enumerator.c (enumerator_with_index_i): add the declaration of + rb_int_succ(). this fixes test failure on OS X introduced at r44745. + Wed Jan 29 14:44:44 2014 Nobuyoshi Nakada <nobu@ruby-lang.org> * ext/date/date_strptime.c (date__strptime_internal): unset diff --git a/enumerator.c b/enumerator.c index ef99bf85fa..65247c90d5 100644 --- a/enumerator.c +++ b/enumerator.c @@ -366,6 +366,8 @@ enumerator_each(VALUE obj) return enumerator_block_call(obj, 0, obj); } +extern VALUE rb_int_succ(VALUE); + static VALUE enumerator_with_index_i(VALUE val, VALUE m, int argc, VALUE *argv) { @@ -1,5 +1,5 @@ #define RUBY_VERSION "1.9.3" -#define RUBY_PATCHLEVEL 501 +#define RUBY_PATCHLEVEL 502 #define RUBY_RELEASE_DATE "2014-01-29" #define RUBY_RELEASE_YEAR 2014 |