From 2bd0c2bf73acd0841619f67e3448573e5b6e3064 Mon Sep 17 00:00:00 2001 From: matz Date: Fri, 22 Mar 2002 07:26:42 +0000 Subject: * the VMS support patch submitted by Akiyoshi, Masamichi is merged. * eval.c (exec_under): changing ruby_class is OK, but should not alter cbase. * eval.c (yield_under_i): ditto. git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@2258 b2dd03c8-39d4-4d8f-98ff-823fe69b080e --- ruby.h | 5 +++++ 1 file changed, 5 insertions(+) (limited to 'ruby.h') diff --git a/ruby.h b/ruby.h index 12b373948b..24d3e0441c 100644 --- a/ruby.h +++ b/ruby.h @@ -60,6 +60,11 @@ extern "C" { #pragma alloca #endif +#if defined(__VMS) +# pragma builtins +# define alloca __alloca +#endif + #if SIZEOF_LONG != SIZEOF_VOIDP ---->> ruby requires sizeof(void*) == sizeof(long) to be compiled. <<---- #endif -- cgit v1.2.3