ruby-changes:65227
From: nagachika <ko1@a...>
Date: Thu, 11 Feb 2021 14:08:21 +0900 (JST)
Subject: [ruby-changes:65227] 9cc8b2a672 (ruby_2_7): merge revision(s) e033c9d7db02a4e8d2973364ecb47744b63aecd3: [Backport #17549]
https://git.ruby-lang.org/ruby.git/commit/?id=9cc8b2a672 From 9cc8b2a672f50fa9a849105353e332d3a72d7b28 Mon Sep 17 00:00:00 2001 From: nagachika <nagachika@r...> Date: Thu, 11 Feb 2021 13:30:46 +0900 Subject: merge revision(s) e033c9d7db02a4e8d2973364ecb47744b63aecd3: [Backport #17549] Include missing AvailabilityMacros.h --- random.c | 4 ++++ 1 file changed, 4 insertions(+) --- random.c | 4 ++++ version.h | 2 +- 2 files changed, 5 insertions(+), 1 deletion(-) diff --git a/random.c b/random.c index 68b47bc..f2e5790 100644 --- a/random.c +++ b/random.c @@ -9,6 +9,10 @@ https://github.com/ruby/ruby/blob/trunk/random.c#L9 **********************************************************************/ +#if defined __APPLE__ +# include <AvailabilityMacros.h> +#endif + #include "internal.h" #include <limits.h> diff --git a/version.h b/version.h index 846be55..afd5761 100644 --- a/version.h +++ b/version.h @@ -2,7 +2,7 @@ https://github.com/ruby/ruby/blob/trunk/version.h#L2 # define RUBY_VERSION_MINOR RUBY_API_VERSION_MINOR #define RUBY_VERSION_TEENY 3 #define RUBY_RELEASE_DATE RUBY_RELEASE_YEAR_STR"-"RUBY_RELEASE_MONTH_STR"-"RUBY_RELEASE_DAY_STR -#define RUBY_PATCHLEVEL 151 +#define RUBY_PATCHLEVEL 152 #define RUBY_RELEASE_YEAR 2021 #define RUBY_RELEASE_MONTH 2 -- cgit v1.1 -- ML: ruby-changes@q... Info: http://www.atdot.net/~ko1/quickml/