aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--alloca.c3
1 files changed, 2 insertions, 1 deletions
diff --git a/alloca.c b/alloca.c
index 367b7fe..cab9645 100644
--- a/alloca.c
+++ b/alloca.c
@@ -26,7 +26,8 @@
#endif
/* If compiling with GCC 2, this file's not needed. */
-#if defined (__GNUC__) && __GNUC__ >= 2
+#if !defined (__GNUC__) || __GNUC__ < 2
+
/* If someone has defined alloca as a macro,
there must be some other way alloca is supposed to work. */
#ifndef alloca