summaryrefslogtreecommitdiffstats
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
commite928588604318fcd4cf548199db4fda7e80b8ead (patch)
tree3d149f42dc504c7bd1ec4e0666308d3d0208ac7c /regint.h
parent2c3bff7e5a08a0bcb1e352174087965cf6d98b35 (diff)
downloadruby-e928588604318fcd4cf548199db4fda7e80b8ead.tar.gz
ruby-e928588604318fcd4cf548199db4fda7e80b8ead.tar.xz
ruby-e928588604318fcd4cf548199db4fda7e80b8ead.zip
* 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: http://svn.ruby-lang.org/repos/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 1705410ee..182eed267 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