summaryrefslogtreecommitdiff
path: root/gc.c
diff options
context:
space:
mode:
authormatz <matz@b2dd03c8-39d4-4d8f-98ff-823fe69b080e>2006-08-07 03:43:42 +0000
committermatz <matz@b2dd03c8-39d4-4d8f-98ff-823fe69b080e>2006-08-07 03:43:42 +0000
commit390aa976987ea521522d86168d21b026aaac64dd (patch)
tree65963f9a87ff507ba517d9e39584e9c0fa0c8d95 /gc.c
parent244007bd9093a28bd0f9716d202811c6bb05443b (diff)
* dln.c, eval.c, gc.c, regex.c, ruby.h: shut up AIX alloca
warning. [ruby-dev:29191] git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/branches/ruby_1_8@10694 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
Diffstat (limited to 'gc.c')
-rw-r--r--gc.c4
1 files changed, 1 insertions, 3 deletions
diff --git a/gc.c b/gc.c
index 04f28e6..e251646 100644
--- a/gc.c
+++ b/gc.c
@@ -66,9 +66,7 @@ void rb_io_fptr_finalize _((struct OpenFile*));
# ifdef HAVE_ALLOCA_H
# include <alloca.h>
# else
-# ifdef _AIX
- #pragma alloca
-# else
+# ifndef _AIX
# ifndef alloca /* predefined by HP cc +Olibcalls */
void *alloca ();
# endif