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 | afe19a2c7cf850b20552fb0a7b060d92d8e30370 (patch) | |
tree | e92db2dcba5aacbe6ef07584dae6df5d1f892f74 /error.c | |
parent | f9fb27bb5e84805a8448eb2583bdcb8fc3065f12 (diff) |
* 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: svn+ssh://ci.ruby-lang.org/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(); } |