From: Richard M. Stallman Date: Thu, 4 May 1995 21:57:30 +0000 (+0000) Subject: Include config.h. X-Git-Tag: emacs-19.34~4168 X-Git-Url: http://git.eshelyaron.com/gitweb/?a=commitdiff_plain;h=34b4ece5fe5aa8bbc633b586a4a71e4712c4f949;p=emacs.git Include config.h. (NO_SHORTNAMES): New definition. (xmalloc): Return long *. --- diff --git a/lib-src/make-docfile.c b/lib-src/make-docfile.c index 006600e162d..e45fd75b3a1 100644 --- a/lib-src/make-docfile.c +++ b/lib-src/make-docfile.c @@ -31,6 +31,9 @@ the Free Software Foundation, 675 Mass Ave, Cambridge, MA 02139, USA. */ Then comes the documentation for that function or variable. */ +#define NO_SHORTNAMES /* Tell config not to load remap.h */ +#include <../src/config.h> + #include #ifdef MSDOS #include @@ -84,11 +87,11 @@ fatal (s1, s2) /* Like malloc but get fatal error if memory is exhausted. */ -char * +long * xmalloc (size) unsigned int size; { - char *result = (char *) malloc (size); + long *result = (long *) malloc (size); if (result == NULL) fatal ("virtual memory exhausted", 0); return result;