summaryrefslogtreecommitdiff
path: root/src/s
diff options
context:
space:
mode:
Diffstat (limited to 'src/s')
-rw-r--r--src/s/aix3-2.h2
1 files changed, 2 insertions, 0 deletions
diff --git a/src/s/aix3-2.h b/src/s/aix3-2.h
index 9981bc27092..8ed99d99e4d 100644
--- a/src/s/aix3-2.h
+++ b/src/s/aix3-2.h
@@ -18,8 +18,10 @@
#define HAVE_ALLOCA
/* Adrian Colley <Adrian.Colley@three.serpentine.com> says this is needed. */
#ifndef NOT_C_CODE
+#ifndef AIX4
#pragma alloca
#endif
+#endif
#undef rindex
#undef index