diff options
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(); } |