summaryrefslogtreecommitdiff
path: root/src/alloc.c
diff options
context:
space:
mode:
authorDan Nicolaescu <dann@ics.uci.edu>2010-03-19 17:46:01 -0700
committerDan Nicolaescu <dann@ics.uci.edu>2010-03-19 17:46:01 -0700
commitaed71cf417ed73a53e1931d94d109070b3ed1041 (patch)
treebfd1b8e38bd3aa61fabd5d576f202e912d2617c2 /src/alloc.c
parentb0287b39f290209cfdc868775c1d90b8347aae47 (diff)
downloademacs-aed71cf417ed73a53e1931d94d109070b3ed1041.tar.gz
Remove obsolete uses of HAVE_SHM.
* emacs.c (standard_args): (Fdump_emacs): (syms_of_emacs): Remove code depending on HAVE_SHM. * alloc.c: Remove HAVE_SHM dependent definition. * Makefile.in (RUN_TEMACS): Do not depend on HAVE_SHM.
Diffstat (limited to 'src/alloc.c')
-rw-r--r--src/alloc.c9
1 files changed, 0 insertions, 9 deletions
diff --git a/src/alloc.c b/src/alloc.c
index 9a935cc8952..98d60067f9e 100644
--- a/src/alloc.c
+++ b/src/alloc.c
@@ -257,8 +257,6 @@ Lisp_Object Vpurify_flag;
Lisp_Object Vmemory_full;
-#ifndef HAVE_SHM
-
/* Initialize it to a nonzero value to force it into data space
(rather than bss space). That way unexec will remap it into text
space (pure), on some systems. We have not implemented the
@@ -268,13 +266,6 @@ Lisp_Object Vmemory_full;
EMACS_INT pure[(PURESIZE + sizeof (EMACS_INT) - 1) / sizeof (EMACS_INT)] = {1,};
#define PUREBEG (char *) pure
-#else /* HAVE_SHM */
-
-#define pure PURE_SEG_BITS /* Use shared memory segment */
-#define PUREBEG (char *)PURE_SEG_BITS
-
-#endif /* HAVE_SHM */
-
/* Pointer to the pure area, and its size. */
static char *purebeg;