* include/ruby/encoding.h (ECONV_UNIVERSAL_NEWLINE_DECODER): defined.
[ruby-svn.git] / version.h
blobf439221658c01f9dce79705fd18cc9bbf8646a63
1 #define RUBY_VERSION "1.9.0"
2 #define RUBY_RELEASE_DATE "2008-08-14"
3 #define RUBY_VERSION_CODE 190
4 #define RUBY_RELEASE_CODE 20080814
5 #define RUBY_PATCHLEVEL 0
7 #define RUBY_VERSION_MAJOR 1
8 #define RUBY_VERSION_MINOR 9
9 #define RUBY_VERSION_TEENY 0
10 #define RUBY_RELEASE_YEAR 2008
11 #define RUBY_RELEASE_MONTH 8
12 #define RUBY_RELEASE_DAY 14
14 #ifdef RUBY_EXTERN
15 RUBY_EXTERN const char ruby_version[];
16 RUBY_EXTERN const char ruby_release_date[];
17 RUBY_EXTERN const char ruby_platform[];
18 RUBY_EXTERN const int ruby_patchlevel;
19 RUBY_EXTERN const char ruby_description[];
20 RUBY_EXTERN const char ruby_copyright[];
21 #endif
23 #define RUBY_AUTHOR "Yukihiro Matsumoto"
24 #define RUBY_BIRTH_YEAR 1993
25 #define RUBY_BIRTH_MONTH 2
26 #define RUBY_BIRTH_DAY 24
28 #ifndef RUBY_REVISION
29 #include "revision.h"
30 #endif
31 #ifndef RUBY_REVISION
32 #define RUBY_REVISION 0
33 #endif
35 #if RUBY_VERSION_TEENY > 0 && RUBY_PATCHLEVEL < 5000 && !RUBY_REVISION
36 #define RUBY_RELEASE_STR "patchlevel"
37 #define RUBY_RELEASE_NUM RUBY_PATCHLEVEL
38 #else
39 #ifdef RUBY_BRANCH_NAME
40 #define RUBY_RELEASE_STR RUBY_BRANCH_NAME
41 #else
42 #define RUBY_RELEASE_STR "revision"
43 #endif
44 #define RUBY_RELEASE_NUM RUBY_REVISION
45 #endif
47 # define RUBY_DESCRIPTION \
48 "ruby "RUBY_VERSION \
49 " ("RUBY_RELEASE_DATE" " \
50 RUBY_RELEASE_STR" " \
51 STRINGIZE(RUBY_RELEASE_NUM)") " \
52 "["RUBY_PLATFORM"]"
53 # define RUBY_COPYRIGHT \
54 "ruby - Copyright (C) " \
55 STRINGIZE(RUBY_BIRTH_YEAR)"-" \
56 STRINGIZE(RUBY_RELEASE_YEAR)" " \
57 RUBY_AUTHOR