Skip to content

Commit

Permalink
Always define RUBY_RELEASE_DATETIME
Browse files Browse the repository at this point in the history
  • Loading branch information
nobu committed Jun 21, 2019
1 parent c79131d commit 2f2fc93
Showing 1 changed file with 4 additions and 3 deletions.
7 changes: 4 additions & 3 deletions version.h
Original file line number Diff line number Diff line change
Expand Up @@ -52,16 +52,17 @@
# 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
#else
# 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 \
Expand Down

0 comments on commit 2f2fc93

Please sign in to comment.