From a1b9df942620a65374a8231df1521faf22907efe Mon Sep 17 00:00:00 2001 From: nobu Date: Fri, 23 Apr 2004 14:26:21 +0000 Subject: * 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 --- error.c | 5 +++-- 1 file changed, 3 insertions(+), 2 deletions(-) (limited to 'error.c') diff --git a/error.c b/error.c index a6c495225..59ec066b9 100644 --- a/error.c +++ b/error.c @@ -12,7 +12,6 @@ #include "ruby.h" #include "env.h" -#include "version.h" #include "st.h" #include @@ -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(); } -- cgit