From 29f4bda5cf9360df591f30c7391e71b14283d709 Mon Sep 17 00:00:00 2001 From: Dave Love Date: Thu, 17 Aug 2000 13:57:01 +0000 Subject: [PATCH] Use #error. [POINTER_TYPE]: Use it. --- src/alloca.c | 11 +++++++---- 1 file changed, 7 insertions(+), 4 deletions(-) diff --git a/src/alloca.c b/src/alloca.c index 087e990ab1e..78704e5dc93 100644 --- a/src/alloca.c +++ b/src/alloca.c @@ -51,9 +51,7 @@ in order to make unexec workable */ #ifndef STACK_DIRECTION -you -lose --- must know STACK_DIRECTION at compile-time + #error "Must know STACK_DIRECTION at compile-time" #endif /* STACK_DIRECTION undefined */ #endif /* static */ #endif /* emacs */ @@ -68,11 +66,16 @@ long i00afunc (); #define ADDRESS_FUNCTION(arg) &(arg) #endif +#ifdef POINTER_TYPE +typedef POINTER_TYPE *pointer; +#else #if __STDC__ typedef void *pointer; #else typedef char *pointer; -#endif +#endif /*__STDC__*/ +#endif /*POINTER_TYPE*/ + #ifndef NULL #define NULL 0 -- 2.39.2