mirror of
https://github.com/ruby/ruby.git
synced 2026-01-26 20:19:19 +00:00
Fix RUBY_API_VERSION_NAME fallback definition
This commit is contained in:
parent
c32eb727bd
commit
3bbd45dd86
Notes:
git
2025-11-17 12:35:13 +00:00
@ -31,13 +31,15 @@
|
||||
# endif
|
||||
# define RUBY_REVISION_STR " "RUBY_BRANCH_NAME" "RUBY_REVISION
|
||||
# else
|
||||
# define RUBY_API_VERSION_NAME RUBY_API_VERSION_STR
|
||||
# define RUBY_REVISION_STR " revision "RUBY_REVISION
|
||||
# endif
|
||||
#else
|
||||
# define RUBY_REVISION "HEAD"
|
||||
# define RUBY_REVISION_STR ""
|
||||
#endif
|
||||
#ifndef RUBY_API_VERSION_NAME
|
||||
# define RUBY_API_VERSION_NAME RUBY_API_VERSION_STR
|
||||
#endif
|
||||
#if !defined RUBY_RELEASE_DATETIME || RUBY_PATCHLEVEL != -1
|
||||
# undef RUBY_RELEASE_DATETIME
|
||||
# define RUBY_RELEASE_DATETIME RUBY_RELEASE_DATE
|
||||
|
||||
Loading…
x
Reference in New Issue
Block a user