mirror of
https://github.com/ruby/ruby.git
synced 2022-11-09 12:17:21 -05:00
reverted
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@17522 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
This commit is contained in:
parent
15bb75646a
commit
00e6cbb0a8
1 changed files with 21 additions and 4 deletions
25
version.h
25
version.h
|
@ -1,7 +1,7 @@
|
|||
#define RUBY_VERSION "1.9.0"
|
||||
#define RUBY_RELEASE_DATE "2008-06-22"
|
||||
#define RUBY_RELEASE_DATE "2008-06-21"
|
||||
#define RUBY_VERSION_CODE 190
|
||||
#define RUBY_RELEASE_CODE 20080622
|
||||
#define RUBY_RELEASE_CODE 20080621
|
||||
#define RUBY_PATCHLEVEL 0
|
||||
|
||||
#define RUBY_VERSION_MAJOR 1
|
||||
|
@ -9,7 +9,7 @@
|
|||
#define RUBY_VERSION_TEENY 0
|
||||
#define RUBY_RELEASE_YEAR 2008
|
||||
#define RUBY_RELEASE_MONTH 6
|
||||
#define RUBY_RELEASE_DAY 22
|
||||
#define RUBY_RELEASE_DAY 21
|
||||
|
||||
#ifdef RUBY_EXTERN
|
||||
RUBY_EXTERN const char ruby_version[];
|
||||
|
@ -37,4 +37,21 @@ RUBY_EXTERN const char ruby_copyright[];
|
|||
#define RUBY_RELEASE_NUM RUBY_PATCHLEVEL
|
||||
#else
|
||||
#ifdef RUBY_BRANCH_NAME
|
||||
#defin
|
||||
#define RUBY_RELEASE_STR RUBY_BRANCH_NAME
|
||||
#else
|
||||
#define RUBY_RELEASE_STR "revision"
|
||||
#endif
|
||||
#define RUBY_RELEASE_NUM RUBY_REVISION
|
||||
#endif
|
||||
|
||||
# define RUBY_DESCRIPTION \
|
||||
"ruby "RUBY_VERSION \
|
||||
" ("RUBY_RELEASE_DATE" " \
|
||||
RUBY_RELEASE_STR" " \
|
||||
STRINGIZE(RUBY_RELEASE_NUM)") " \
|
||||
"["RUBY_PLATFORM"]"
|
||||
# define RUBY_COPYRIGHT \
|
||||
"ruby - Copyright (C) " \
|
||||
STRINGIZE(RUBY_BIRTH_YEAR)"-" \
|
||||
STRINGIZE(RUBY_RELEASE_YEAR)" " \
|
||||
RUBY_AUTHOR
|
||||
|
|
Loading…
Reference in a new issue