aboutsummaryrefslogtreecommitdiffstats
path: root/src
diff options
context:
space:
mode:
authorDave Love2000-08-17 13:57:01 +0000
committerDave Love2000-08-17 13:57:01 +0000
commit29f4bda5cf9360df591f30c7391e71b14283d709 (patch)
tree18ac33509116ee7033c044289c12640a2dd82e53 /src
parent77d2026234a57b46a4053a088cc73b5daa8b3b95 (diff)
downloademacs-29f4bda5cf9360df591f30c7391e71b14283d709.tar.gz
emacs-29f4bda5cf9360df591f30c7391e71b14283d709.zip
Use #error.
[POINTER_TYPE]: Use it.
Diffstat (limited to 'src')
-rw-r--r--src/alloca.c11
1 files 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 @@
51 in order to make unexec workable 51 in order to make unexec workable
52 */ 52 */
53#ifndef STACK_DIRECTION 53#ifndef STACK_DIRECTION
54you 54 #error "Must know STACK_DIRECTION at compile-time"
55lose
56-- must know STACK_DIRECTION at compile-time
57#endif /* STACK_DIRECTION undefined */ 55#endif /* STACK_DIRECTION undefined */
58#endif /* static */ 56#endif /* static */
59#endif /* emacs */ 57#endif /* emacs */
@@ -68,11 +66,16 @@ long i00afunc ();
68#define ADDRESS_FUNCTION(arg) &(arg) 66#define ADDRESS_FUNCTION(arg) &(arg)
69#endif 67#endif
70 68
69#ifdef POINTER_TYPE
70typedef POINTER_TYPE *pointer;
71#else
71#if __STDC__ 72#if __STDC__
72typedef void *pointer; 73typedef void *pointer;
73#else 74#else
74typedef char *pointer; 75typedef char *pointer;
75#endif 76#endif /*__STDC__*/
77#endif /*POINTER_TYPE*/
78
76 79
77#ifndef NULL 80#ifndef NULL
78#define NULL 0 81#define NULL 0