aboutsummaryrefslogtreecommitdiffstats
path: root/src
diff options
context:
space:
mode:
Diffstat (limited to 'src')
-rw-r--r--src/m/alpha.h14
1 files changed, 14 insertions, 0 deletions
diff --git a/src/m/alpha.h b/src/m/alpha.h
index d1f9b9a9372..6d33ed3c5cc 100644
--- a/src/m/alpha.h
+++ b/src/m/alpha.h
@@ -68,6 +68,7 @@ NOTE-END
68/* Define the type to use. */ 68/* Define the type to use. */
69#define EMACS_INT long 69#define EMACS_INT long
70#define EMACS_UINT unsigned long 70#define EMACS_UINT unsigned long
71#define SPECIAL_EMACS_INT
71 72
72/* Define EXPLICIT_SIGN_EXTEND if XINT must explicitly sign-extend 73/* Define EXPLICIT_SIGN_EXTEND if XINT must explicitly sign-extend
73 the 24-bit bit field into an int. In other words, if bit fields 74 the 24-bit bit field into an int. In other words, if bit fields
@@ -187,3 +188,16 @@ NOTE-END
187/* Define XPNTR to avoid or'ing with DATA_SEG_BITS */ 188/* Define XPNTR to avoid or'ing with DATA_SEG_BITS */
188 189
189#define XPNTR(a) XUINT (a) 190#define XPNTR(a) XUINT (a)
191
192/* Declare malloc and realloc in a way that is clean.
193 But not in makefiles! */
194
195#ifndef NOT_C_CODE
196#ifndef THIS_IS_YMAKEFILE
197/* We need these because pointers are larger than the default ints. */
198#include <alloca.h>
199#include <string.h>
200extern void *malloc (), *realloc ();
201extern long *xmalloc (), *xrealloc ();
202#endif
203#endif