From: Gerd Moellmann Date: Thu, 14 Sep 2000 15:12:48 +0000 (+0000) Subject: (USE_MMAP_FOR_BUFFERS): Define instead of REL_ALLOC_MMAP. X-Git-Tag: emacs-pretest-21.0.90~1622 X-Git-Url: http://git.eshelyaron.com/gitweb/?a=commitdiff_plain;h=67cdbf1682534ccbf0242ced3c7a9f02a153ba64;p=emacs.git (USE_MMAP_FOR_BUFFERS): Define instead of REL_ALLOC_MMAP. --- diff --git a/src/s/freebsd.h b/src/s/freebsd.h index b7a983b02c6..b25e0f85d6f 100644 --- a/src/s/freebsd.h +++ b/src/s/freebsd.h @@ -190,7 +190,7 @@ #define GC_MARK_STACK 1 -/* Define REL_ALLOC_MMAP to use an ralloc implementation based on - mmap(2) */ +/* Define USE_MMAP_FOR_BUFFERS to let Emacs use mmap(2) to allocate + buffer text. This overrides REL_ALLOC. */ -#define REL_ALLOC_MMAP 1 +#define USE_MMAP_FOR_BUFFERS 1 diff --git a/src/s/irix5-0.h b/src/s/irix5-0.h index 9e21963125e..b2565fbba30 100644 --- a/src/s/irix5-0.h +++ b/src/s/irix5-0.h @@ -123,4 +123,4 @@ char *_getpty(); #define NARROWPROTO 1 -#define REL_ALLOC_MMAP 1 +#define USE_MMAP_FOR_BUFFERS 1 diff --git a/src/s/sol2.h b/src/s/sol2.h index a53ac8bdbaf..be6edf0aa94 100644 --- a/src/s/sol2.h +++ b/src/s/sol2.h @@ -47,4 +47,4 @@ #define LIBS_TERMCAP -ltermcap #endif -#define REL_ALLOC_MMAP 1 +#define USE_MMAP_FOR_BUFFERS 1 diff --git a/src/s/template.h b/src/s/template.h index 836f45cfc58..b018afa8ce1 100644 --- a/src/s/template.h +++ b/src/s/template.h @@ -147,8 +147,8 @@ Boston, MA 02111-1307, USA. */ is not ':', #define this to be the appropriate character constant. */ /* #define SEPCHAR ':' */ -/* Define this if the system can use mmap in ralloc.c. */ -/* #define REL_ALLOC_MMAP 1 */ +/* Define this if the system can use mmap for buffer text allocation. */ +/* #define USE_MMAP_FOR_BUFFERS 1 */ /* ============================================================ */