summaryrefslogtreecommitdiff
path: root/ruby.h
diff options
context:
space:
mode:
Diffstat (limited to 'ruby.h')
-rw-r--r--ruby.h5
1 files changed, 5 insertions, 0 deletions
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