ruby-changes:55788
From: Nobuyoshi <ko1@a...>
Date: Thu, 23 May 2019 01:40:05 +0900 (JST)
Subject: [ruby-changes:55788] Nobuyoshi Nakada: a093c98ddc (trunk): Fallback RUBY_FULL_REVISION if not defined
https://git.ruby-lang.org/ruby.git/commit/?id=a093c98ddc From a093c98ddc92d8b0a341233630aea8f778188c7e Mon Sep 17 00:00:00 2001 From: Nobuyoshi Nakada <nobu@r...> Date: Thu, 23 May 2019 01:39:04 +0900 Subject: Fallback RUBY_FULL_REVISION if not defined diff --git a/version.c b/version.c index 660f671..fba2604 100644 --- a/version.c +++ b/version.c @@ -32,6 +32,9 @@ const int ruby_api_version[] = { https://github.com/ruby/ruby/blob/trunk/version.c#L32 STRINGIZE(RUBY_VERSION_MAJOR) "." \ STRINGIZE(RUBY_VERSION_MINOR) "." \ STRINGIZE(RUBY_VERSION_TEENY) "" +#ifndef RUBY_FULL_REVISION +# define RUBY_FULL_REVISION RUBY_REVISION +#endif const char ruby_version[] = RUBY_VERSION; const char ruby_revision[] = RUBY_FULL_REVISION; const char ruby_release_date[] = RUBY_RELEASE_DATE; -- cgit v0.10.2 -- ML: ruby-changes@q... Info: http://www.atdot.net/~ko1/quickml/