aboutsummaryrefslogtreecommitdiffstats
path: root/src/s/gnu-linux.h
diff options
context:
space:
mode:
Diffstat (limited to 'src/s/gnu-linux.h')
-rw-r--r--src/s/gnu-linux.h9
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