Mercurial > emacs
view src/s/irix5-2.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 | 2935ee86a8f8 |
children | af2906590846 |
line wrap: on
line source
#include "irix5-0.h" /* as of version 5.2, irix no longer uses flock, according to jackr@wpd.sgi.com. */ #undef MAIL_USE_FLOCK /* C-g in select is not handled properly with restartable system calls. So don't use them. */ #undef SA_RESTART /* schoepf@goofy.zdv.Uni-Mainz.de reports he needed -lw with X11R6 on Irix 5.3. I don't know which Irix version that need starts with. */ #define NEED_LIBW