summaryrefslogtreecommitdiff
path: root/ruby.h
diff options
context:
space:
mode:
Diffstat (limited to 'ruby.h')
-rw-r--r--ruby.h6
1 files changed, 3 insertions, 3 deletions
diff --git a/ruby.h b/ruby.h
index d8048f89cb..dcf7fbd822 100644
--- a/ruby.h
+++ b/ruby.h
@@ -65,10 +65,10 @@ extern "C" {
#if defined(HAVE_ALLOCA_H)
#include <alloca.h>
-#endif
-
-#ifdef _AIX
+#else
+# ifdef _AIX
#pragma alloca
+# endif
#endif
#if defined(__VMS)