mirror of
https://github.com/ruby/ruby.git
synced 2022-11-09 12:17:21 -05:00
Fallback RUBY_FULL_REVISION if not defined
This commit is contained in:
parent
f69d28fbca
commit
a093c98ddc
1 changed files with 3 additions and 0 deletions
|
|
@ -32,6 +32,9 @@ const int ruby_api_version[] = {
|
|||
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;
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue