mirror of
https://github.com/ruby/ruby.git
synced 2022-11-09 12:17:21 -05:00
* version.h: make version string succinct:
"ruby 1.9.1p5000 (2009-01-10 trunk 21414) [i686-linux]". git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@21415 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
This commit is contained in:
parent
d46fcaf485
commit
2149577476
2 changed files with 11 additions and 5 deletions
|
@ -1,3 +1,8 @@
|
|||
Sat Jan 10 20:26:17 2009 Tanaka Akira <akr@fsij.org>
|
||||
|
||||
* version.h: make version string succinct:
|
||||
"ruby 1.9.1p5000 (2009-01-10 trunk 21414) [i686-linux]".
|
||||
|
||||
Sat Jan 10 19:05:13 2009 Koichi Sasada <ko1@atdot.net>
|
||||
|
||||
* cont.c (cont_restore_1): should not be inlined.
|
||||
|
|
11
version.h
11
version.h
|
@ -24,14 +24,15 @@ RUBY_EXTERN const char ruby_copyright[];
|
|||
#define RUBY_BIRTH_MONTH 2
|
||||
#define RUBY_BIRTH_DAY 24
|
||||
|
||||
#define RUBY_PATCHLEVEL_STR "p"STRINGIZE(RUBY_PATCHLEVEL)
|
||||
|
||||
#ifndef RUBY_REVISION
|
||||
#include "revision.h"
|
||||
# include "revision.h"
|
||||
#endif
|
||||
#ifndef RUBY_REVISION
|
||||
#define RUBY_REVISION 0
|
||||
# ifndef RUBY_REVISION
|
||||
# define RUBY_REVISION 0
|
||||
#endif
|
||||
|
||||
#define RUBY_PATCHLEVEL_STR " patchlevel-"STRINGIZE(RUBY_PATCHLEVEL)
|
||||
#if RUBY_REVISION
|
||||
# ifdef RUBY_BRANCH_NAME
|
||||
# define RUBY_REVISION_STR " "RUBY_BRANCH_NAME" "STRINGIZE(RUBY_REVISION)
|
||||
|
@ -44,8 +45,8 @@ RUBY_EXTERN const char ruby_copyright[];
|
|||
|
||||
# define RUBY_DESCRIPTION \
|
||||
"ruby "RUBY_VERSION \
|
||||
RUBY_PATCHLEVEL_STR \
|
||||
" ("RUBY_RELEASE_DATE \
|
||||
RUBY_PATCHLEVEL_STR \
|
||||
RUBY_REVISION_STR") " \
|
||||
"["RUBY_PLATFORM"]"
|
||||
# define RUBY_COPYRIGHT \
|
||||
|
|
Loading…
Reference in a new issue