summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorGerd Moellmann <gerd@gnu.org>2000-09-14 15:12:48 +0000
committerGerd Moellmann <gerd@gnu.org>2000-09-14 15:12:48 +0000
commit67cdbf1682534ccbf0242ced3c7a9f02a153ba64 (patch)
tree0150cf28f7f03088b2139b588845b3f10386afd4
parente32fac2a98e6626d42ad4fc2ab900f6f7ddd64be (diff)
downloademacs-67cdbf1682534ccbf0242ced3c7a9f02a153ba64.tar.gz
(USE_MMAP_FOR_BUFFERS): Define instead of REL_ALLOC_MMAP.
-rw-r--r--src/s/freebsd.h6
-rw-r--r--src/s/irix5-0.h2
-rw-r--r--src/s/sol2.h2
-rw-r--r--src/s/template.h4
4 files changed, 7 insertions, 7 deletions
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 */
/* ============================================================ */