]> git.eshelyaron.com Git - emacs.git/commitdiff
#define SPECIAL_EMACS_INT
authorRichard M. Stallman <rms@gnu.org>
Mon, 10 Apr 1995 18:11:41 +0000 (18:11 +0000)
committerRichard M. Stallman <rms@gnu.org>
Mon, 10 Apr 1995 18:11:41 +0000 (18:11 +0000)
Include alloca.h, string.h here.
(malloc. realloc, xmalloc, xrealloc): Declarations moved from s/osf1.h.

src/m/alpha.h

index d1f9b9a937288e3df1b9692a3c9db9a292a77955..6d33ed3c5cce6c13276e7caff3cb29a3590e44f1 100644 (file)
@@ -68,6 +68,7 @@ NOTE-END
 /* 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 @@ NOTE-END
 /* 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 <alloca.h>
+#include <string.h>
+extern void *malloc (), *realloc ();
+extern long *xmalloc (), *xrealloc ();
+#endif
+#endif