mirror of
https://github.com/ruby/ruby.git
synced 2022-11-09 12:17:21 -05:00
Always define RUBY_RELEASE_DATETIME
This commit is contained in:
parent
c79131df28
commit
2f2fc939eb
1 changed files with 4 additions and 3 deletions
|
@ -52,9 +52,6 @@
|
|||
# define RUBY_BRANCH_NAME "trunk"
|
||||
# endif
|
||||
# define RUBY_REVISION_STR " "RUBY_BRANCH_NAME" "RUBY_REVISION
|
||||
# ifndef RUBY_RELEASE_DATETIME
|
||||
# define RUBY_RELEASE_DATETIME RUBY_RELEASE_DATE
|
||||
# endif
|
||||
# else
|
||||
# define RUBY_REVISION_STR " revision "RUBY_REVISION
|
||||
# endif
|
||||
|
@ -62,6 +59,10 @@
|
|||
# define RUBY_REVISION "HEAD"
|
||||
# define RUBY_REVISION_STR ""
|
||||
#endif
|
||||
#if !defined RUBY_RELEASE_DATETIME || RUBY_PATCHLEVEL != -1
|
||||
# undef RUBY_RELEASE_DATETIME
|
||||
# define RUBY_RELEASE_DATETIME RUBY_RELEASE_DATE
|
||||
#endif
|
||||
|
||||
# define RUBY_DESCRIPTION_WITH(opt) \
|
||||
"ruby "RUBY_VERSION \
|
||||
|
|
Loading…
Add table
Reference in a new issue