1
0
Fork 0
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:
Nobuyoshi Nakada 2019-06-22 01:16:23 +09:00
parent c79131df28
commit 2f2fc939eb
No known key found for this signature in database
GPG key ID: 4BC7D6DF58D8DF60

View file

@ -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 \