summaryrefslogtreecommitdiff
path: root/error.c
diff options
context:
space:
mode:
authornobu <nobu@b2dd03c8-39d4-4d8f-98ff-823fe69b080e>2004-04-23 14:26:21 +0000
committernobu <nobu@b2dd03c8-39d4-4d8f-98ff-823fe69b080e>2004-04-23 14:26:21 +0000
commitafe19a2c7cf850b20552fb0a7b060d92d8e30370 (patch)
treee92db2dcba5aacbe6ef07584dae6df5d1f892f74 /error.c
parentf9fb27bb5e84805a8448eb2583bdcb8fc3065f12 (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.c5
1 files changed, 3 insertions, 2 deletions
diff --git a/error.c b/error.c
index a6c4952..59ec066 100644
--- a/error.c
+++ b/error.c
@@ -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();
}