diff options
| author | Dan Nicolaescu | 2010-03-19 17:46:01 -0700 |
|---|---|---|
| committer | Dan Nicolaescu | 2010-03-19 17:46:01 -0700 |
| commit | aed71cf417ed73a53e1931d94d109070b3ed1041 (patch) | |
| tree | bfd1b8e38bd3aa61fabd5d576f202e912d2617c2 /src/alloc.c | |
| parent | b0287b39f290209cfdc868775c1d90b8347aae47 (diff) | |
| download | emacs-aed71cf417ed73a53e1931d94d109070b3ed1041.tar.gz emacs-aed71cf417ed73a53e1931d94d109070b3ed1041.zip | |
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.c | 9 |
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; | |||
| 257 | 257 | ||
| 258 | Lisp_Object Vmemory_full; | 258 | Lisp_Object Vmemory_full; |
| 259 | 259 | ||
| 260 | #ifndef HAVE_SHM | ||
| 261 | |||
| 262 | /* Initialize it to a nonzero value to force it into data space | 260 | /* Initialize it to a nonzero value to force it into data space |
| 263 | (rather than bss space). That way unexec will remap it into text | 261 | (rather than bss space). That way unexec will remap it into text |
| 264 | space (pure), on some systems. We have not implemented the | 262 | space (pure), on some systems. We have not implemented the |
| @@ -268,13 +266,6 @@ Lisp_Object Vmemory_full; | |||
| 268 | EMACS_INT pure[(PURESIZE + sizeof (EMACS_INT) - 1) / sizeof (EMACS_INT)] = {1,}; | 266 | EMACS_INT pure[(PURESIZE + sizeof (EMACS_INT) - 1) / sizeof (EMACS_INT)] = {1,}; |
| 269 | #define PUREBEG (char *) pure | 267 | #define PUREBEG (char *) pure |
| 270 | 268 | ||
| 271 | #else /* HAVE_SHM */ | ||
| 272 | |||
| 273 | #define pure PURE_SEG_BITS /* Use shared memory segment */ | ||
| 274 | #define PUREBEG (char *)PURE_SEG_BITS | ||
| 275 | |||
| 276 | #endif /* HAVE_SHM */ | ||
| 277 | |||
| 278 | /* Pointer to the pure area, and its size. */ | 269 | /* Pointer to the pure area, and its size. */ |
| 279 | 270 | ||
| 280 | static char *purebeg; | 271 | static char *purebeg; |