summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--alloca.c4
1 files changed, 2 insertions, 2 deletions
diff --git a/alloca.c b/alloca.c
index c04c0ef..9c472ea 100644
--- a/alloca.c
+++ b/alloca.c
@@ -45,7 +45,7 @@ lose
/* If your stack is a linked list of frames, you have to
provide an "address metric" ADDRESS_FUNCTION macro. */
-#ifdef CRAY
+#if defined (CRAY) && defined (CRAY_STACKSEG_END)
long i00afunc ();
#define ADDRESS_FUNCTION(arg) (char *) i00afunc (&(arg))
#else
@@ -204,7 +204,7 @@ alloca (size)
}
}
-#ifdef CRAY
+#if defined (CRAY) && defined (CRAY_STACKSEG_END)
#ifdef DEBUG_I00AFUNC
#include <stdio.h>