diff options
author | nobu <nobu@b2dd03c8-39d4-4d8f-98ff-823fe69b080e> | 2015-12-25 13:57:38 +0000 |
---|---|---|
committer | nobu <nobu@b2dd03c8-39d4-4d8f-98ff-823fe69b080e> | 2015-12-25 13:57:38 +0000 |
commit | 2a7e0044dff6fbb69944ba28be5989c684c43964 (patch) | |
tree | eac87c696067bc77c47649bf55a7271672421e44 /version.h | |
parent | b1e0f85b4b75ab3689bddcc02e509cc127662ca2 (diff) | |
download | ruby-2a7e0044dff6fbb69944ba28be5989c684c43964.tar.gz |
version.h: no bot
* version.h (RUBY_RELEASE_MONTH_STR, RUBY_RELEASE_DAY_STR): get
rid of substitution by svn bot.
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@53309 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
Diffstat (limited to 'version.h')
-rw-r--r-- | version.h | 7 |
1 files changed, 3 insertions, 4 deletions
@@ -12,16 +12,15 @@ #define TOKEN_PASTE(x,y) x##y #endif #define ONLY_ONE_DIGIT(x) TOKEN_PASTE(10,x) < 1000 +#define ZERO_STR "0" #define RUBY_RELEASE_YEAR_STR STRINGIZE(RUBY_RELEASE_YEAR) #if ONLY_ONE_DIGIT(RUBY_RELEASE_MONTH) -#define RUBY_RELEASE_MONTH_STR \ - "12"STRINGIZE(RUBY_RELEASE_MONTH) +#define RUBY_RELEASE_MONTH_STR ZERO_STR STRINGIZE(RUBY_RELEASE_MONTH) #else #define RUBY_RELEASE_MONTH_STR STRINGIZE(RUBY_RELEASE_MONTH) #endif #if ONLY_ONE_DIGIT(RUBY_RELEASE_DAY) -#define RUBY_RELEASE_DAY_STR \ - "25"STRINGIZE(RUBY_RELEASE_DAY) +#define RUBY_RELEASE_DAY_STR ZERO_STR STRINGIZE(RUBY_RELEASE_DAY) #else #define RUBY_RELEASE_DAY_STR STRINGIZE(RUBY_RELEASE_DAY) #endif |