summaryrefslogtreecommitdiff
path: root/missing
diff options
context:
space:
mode:
Diffstat (limited to 'missing')
-rw-r--r--missing/alloca.c3
1 files changed, 3 insertions, 0 deletions
diff --git a/missing/alloca.c b/missing/alloca.c
index 067f76b183..620eef12e5 100644
--- a/missing/alloca.c
+++ b/missing/alloca.c
@@ -30,6 +30,8 @@ static char SCCSid[] = "@(#)alloca.c 1.1"; /* for the "what" utility */
#endif
#include "ruby/config.h"
+#ifdef C_ALLOCA
+
#ifdef emacs
#ifdef static
/* actually, only want this if static is defined as ""
@@ -192,3 +194,4 @@ alloca (size) /* returns pointer to storage */
}
}
+#endif