Mercurial > emacs
view src/m/ncr386.h @ 17345:4e11e27ce1f1
For glibc's malloc, include <malloc.h> for mallinfo,
mallopt, struct mallinfo, and mallopt constants.
(BYTES_USED): New macro.
(memory_full, emacs_blocked_free): Replace _bytes_used with BYTES_USED.
(emacs_blocked_malloc): Set sbrk padding value for glibc, as is
done with gmalloc.
(allocate_vectorlike, make_uninit_string):
Prevent using mmap for possible large chunks.
(init_alloc_once): Set trim and mmap malloc parms, when using glibc.
author | Richard M. Stallman <rms@gnu.org> |
---|---|
date | Wed, 09 Apr 1997 03:59:08 +0000 |
parents | ca0aead90c7b |
children | 695cf19ef79e |
line wrap: on
line source
#include "intel386.h" #ifndef __GNUC__ /* Allow emacs to link with "bcopy()" unresolved. Works around a problem where /usr/lib/libX11.so provides bcopy, but /usr/ccs/lib/libX11.so does not. */ #define LD_SWITCH_X_DEFAULT -Wl,-z,nodefs #else /* __GNUC__ */ /* Assuming we are using GNU ld, pass a -R option to it so that shared libraries will be found at execution time just as they are found at link time. */ #define LD_SWITCH_X_DEFAULT -Xlinker LD_SWITCH_X_SITE_AUX #endif /* __GNUC__ */