diff options
| author | Dave Love | 2000-03-28 16:17:31 +0000 |
|---|---|---|
| committer | Dave Love | 2000-03-28 16:17:31 +0000 |
| commit | bb15bd9a51769b13a2e1adb3c504d193606c6482 (patch) | |
| tree | 729df9e257f7891f2edb5bf5e2c9f5b8c3dad7bc /src/s/gnu-linux.h | |
| parent | b61f12157ba0386370619c04e0217af40f2c816a (diff) | |
| download | emacs-bb15bd9a51769b13a2e1adb3c504d193606c6482.tar.gz emacs-bb15bd9a51769b13a2e1adb3c504d193606c6482.zip | |
(GC_SETJMP_WORKS): Define for i386, sparc, m68k, alpha.
Diffstat (limited to 'src/s/gnu-linux.h')
| -rw-r--r-- | src/s/gnu-linux.h | 9 |
1 files changed, 9 insertions, 0 deletions
diff --git a/src/s/gnu-linux.h b/src/s/gnu-linux.h index e02f85db0ba..8e39773c6c6 100644 --- a/src/s/gnu-linux.h +++ b/src/s/gnu-linux.h | |||
| @@ -327,3 +327,12 @@ Boston, MA 02111-1307, USA. */ | |||
| 327 | #ifdef DOUG_LEA_MALLOC | 327 | #ifdef DOUG_LEA_MALLOC |
| 328 | #undef REL_ALLOC | 328 | #undef REL_ALLOC |
| 329 | #endif | 329 | #endif |
| 330 | |||
| 331 | /* Tell that garbage collector that setjmp is known to save all | ||
| 332 | registers relevant for conservative garbage collection in the | ||
| 333 | jmp_buf. */ | ||
| 334 | /* m68k and alpha aren't tested, but there are Debian packages for SCM | ||
| 335 | and/or Guile on them, so the technique must work. */ | ||
| 336 | #if #cpu (i386) || #cpu (sparc) || #cpu (m68k) || #cpu (alpha) | ||
| 337 | #define GC_SETJMP_WORKS 1 | ||
| 338 | #endif | ||