summaryrefslogtreecommitdiff
path: root/version.h
diff options
context:
space:
mode:
authornobu <nobu@b2dd03c8-39d4-4d8f-98ff-823fe69b080e>2018-02-24 02:55:03 +0000
committernobu <nobu@b2dd03c8-39d4-4d8f-98ff-823fe69b080e>2018-02-24 02:55:03 +0000
commit1bfe28e2e8c55ac5e564d4a13aee2a10ff1931f7 (patch)
tree24f5995a54ac1deb1ccb0a92d1fe919d7c9ff143 /version.h
parent4704a0dc3b9c8951e6b8a8b75bbd5b650423cc33 (diff)
version.h: get rid of duplication
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@62558 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
Diffstat (limited to 'version.h')
-rw-r--r--version.h10
1 files changed, 2 insertions, 8 deletions
diff --git a/version.h b/version.h
index bc536081b2..df5cace413 100644
--- a/version.h
+++ b/version.h
@@ -60,17 +60,11 @@
# define RUBY_REVISION_STR ""
#endif
-# define RUBY_DESCRIPTION \
+# define RUBY_DESCRIPTION_WITH(opt) \
"ruby "RUBY_VERSION \
RUBY_PATCHLEVEL_STR \
" ("RUBY_RELEASE_DATE \
- RUBY_REVISION_STR") " \
- "["RUBY_PLATFORM"]"
-# define RUBY_DESCRIPTION_WITH_JIT \
- "ruby "RUBY_VERSION \
- RUBY_PATCHLEVEL_STR \
- " ("RUBY_RELEASE_DATE \
- RUBY_REVISION_STR") +JIT " \
+ RUBY_REVISION_STR")"opt" " \
"["RUBY_PLATFORM"]"
# define RUBY_COPYRIGHT \
"ruby - Copyright (C) " \