]> git.eshelyaron.com Git - emacs.git/commitdiff
Use #error.
authorDave Love <fx@gnu.org>
Thu, 17 Aug 2000 13:57:01 +0000 (13:57 +0000)
committerDave Love <fx@gnu.org>
Thu, 17 Aug 2000 13:57:01 +0000 (13:57 +0000)
[POINTER_TYPE]: Use it.

src/alloca.c

index 087e990ab1e73aefe39b538480809ec7a5128733..78704e5dc93cd9cabf42ddae721183fe25454c49 100644 (file)
@@ -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