diff options
| author | nobu <nobu@b2dd03c8-39d4-4d8f-98ff-823fe69b080e> | 2004-04-23 14:26:21 +0000 |
|---|---|---|
| committer | nobu <nobu@b2dd03c8-39d4-4d8f-98ff-823fe69b080e> | 2004-04-23 14:26:21 +0000 |
| commit | a1b9df942620a65374a8231df1521faf22907efe (patch) | |
| tree | e92db2dcba5aacbe6ef07584dae6df5d1f892f74 /error.c | |
| parent | 6dae73208d04ec4dc96398ad6550f40c5ad3ad71 (diff) | |
| download | ruby-a1b9df942620a65374a8231df1521faf22907efe.tar.gz ruby-a1b9df942620a65374a8231df1521faf22907efe.tar.xz ruby-a1b9df942620a65374a8231df1521faf22907efe.zip | |
* version.c (ruby_show_copyright): obtain copyright year from
RUBY_RELEASE_YEAR.
* win32/resource.rb: ditto.
* win32/resource.rb: default rubyw icon to ruby.ico, and let DLL also
include them.
* win32/resource.rb: include winver.h for older WindowsCE.
git-svn-id: http://svn.ruby-lang.org/repos/ruby/branches/ruby_1_8@6208 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
Diffstat (limited to 'error.c')
| -rw-r--r-- | error.c | 5 |
1 files changed, 3 insertions, 2 deletions
@@ -12,7 +12,6 @@ #include "ruby.h" #include "env.h" -#include "version.h" #include "st.h" #include <stdio.h> @@ -24,6 +23,8 @@ #define va_init_list(a,b) va_start(a) #endif +extern const char ruby_version[], ruby_release_date[], ruby_platform[]; + int ruby_nerrs; static int @@ -202,7 +203,7 @@ rb_bug(fmt, va_alist) vfprintf(out, fmt, args); va_end(args); fprintf(out, "\nruby %s (%s) [%s]\n\n", - RUBY_VERSION, RUBY_RELEASE_DATE, RUBY_PLATFORM); + ruby_version, ruby_release_date, ruby_platform); } abort(); } |
