From eb19f511fd2ba7789e5ff78c815ba09b77d16257 Mon Sep 17 00:00:00 2001 From: nobu Date: Wed, 25 May 2005 23:35:25 +0000 Subject: * vms/vmsruby_private.c, vms/vmsruby_private.h: private routines for VMS port are added. * eval.c (ruby_init): change to call VMS private intialization routine. git-svn-id: http://svn.ruby-lang.org/repos/ruby/trunk@8527 b2dd03c8-39d4-4d8f-98ff-823fe69b080e --- eval.c | 6 ++++++ 1 file changed, 6 insertions(+) (limited to 'eval.c') diff --git a/eval.c b/eval.c index c3b9d3924..6482352e6 100644 --- a/eval.c +++ b/eval.c @@ -88,6 +88,10 @@ char *strrchr _((const char*,const char)); #include "macruby_private.h" #endif +#ifdef __VMS +#include "vmsruby_private.h" +#endif + #ifdef USE_CONTEXT typedef struct { ucontext_t context; @@ -1315,6 +1319,8 @@ ruby_init() rb_define_global_const("TOPLEVEL_BINDING", rb_f_binding(ruby_top_self)); #ifdef __MACOS__ _macruby_init(); +#elif defined(__VMS) + _vmsruby_init(); #endif ruby_prog_init(); ALLOW_INTS; -- cgit