# HG changeset patch # User Richard M. Stallman # Date 797537501 0 # Node ID 48baf159de5c2d19c37ed1788ca8468f981ff6bf # Parent 9a4d9102876b1d86166c83c20ff7725f8c7934f9 #define SPECIAL_EMACS_INT Include alloca.h, string.h here. (malloc. realloc, xmalloc, xrealloc): Declarations moved from s/osf1.h. diff -r 9a4d9102876b -r 48baf159de5c src/m/alpha.h --- a/src/m/alpha.h Mon Apr 10 18:11:07 1995 +0000 +++ b/src/m/alpha.h Mon Apr 10 18:11:41 1995 +0000 @@ -68,6 +68,7 @@ /* Define the type to use. */ #define EMACS_INT long #define EMACS_UINT unsigned long +#define SPECIAL_EMACS_INT /* Define EXPLICIT_SIGN_EXTEND if XINT must explicitly sign-extend the 24-bit bit field into an int. In other words, if bit fields @@ -187,3 +188,16 @@ /* Define XPNTR to avoid or'ing with DATA_SEG_BITS */ #define XPNTR(a) XUINT (a) + +/* Declare malloc and realloc in a way that is clean. + But not in makefiles! */ + +#ifndef NOT_C_CODE +#ifndef THIS_IS_YMAKEFILE +/* We need these because pointers are larger than the default ints. */ +#include +#include +extern void *malloc (), *realloc (); +extern long *xmalloc (), *xrealloc (); +#endif +#endif