From: Dave Love Date: Thu, 17 Aug 2000 13:57:01 +0000 (+0000) Subject: Use #error. X-Git-Tag: emacs-pretest-21.0.90~2210 X-Git-Url: http://git.eshelyaron.com/gitweb/?a=commitdiff_plain;h=29f4bda5cf9360df591f30c7391e71b14283d709;p=emacs.git Use #error. [POINTER_TYPE]: Use it. --- 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