summaryrefslogtreecommitdiff
path: root/regint.h
diff options
context:
space:
mode:
authornobu <nobu@b2dd03c8-39d4-4d8f-98ff-823fe69b080e>2007-12-14 04:47:57 +0000
committernobu <nobu@b2dd03c8-39d4-4d8f-98ff-823fe69b080e>2007-12-14 04:47:57 +0000
commit8b6cb6994c2d2e5a9be49f8a4c78542e86abddda (patch)
tree3d149f42dc504c7bd1ec4e0666308d3d0208ac7c /regint.h
parente9ac3573f0025893957d785aa6f0ce361411c8e0 (diff)
downloadruby-8b6cb6994c2d2e5a9be49f8a4c78542e86abddda.tar.gz
* common.mk (ruby.imp): fix for circular dependency. a patch from
Yutaka Kanemoto <kinpoco AT gmail.com> in [ruby-dev:32590]. * regint.h, st.c, ext/json/ext/generator/generator.c: suppress warnings on AIX. git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@14226 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
Diffstat (limited to 'regint.h')
-rw-r--r--regint.h2
1 files changed, 1 insertions, 1 deletions
diff --git a/regint.h b/regint.h
index 1705410eec..182eed2670 100644
--- a/regint.h
+++ b/regint.h
@@ -194,7 +194,7 @@
#include <stdlib.h>
#endif
-#if defined(HAVE_ALLOCA_H) && !defined(__GNUC__)
+#if defined(HAVE_ALLOCA_H) && (defined(_AIX) || !defined(__GNUC__))
#include <alloca.h>
#endif