From 4b3fd719464fb07dc92ac7584bd7584878e0a8c4 Mon Sep 17 00:00:00 2001 From: Gerd Moellmann Date: Mon, 27 Mar 2000 19:42:03 +0000 Subject: [PATCH] (GC_SETJMP_WORKS): Define. --- src/s/freebsd.h | 6 ++++++ src/s/msdos.h | 6 ++++++ 2 files changed, 12 insertions(+) diff --git a/src/s/freebsd.h b/src/s/freebsd.h index 59a1e9072e7..15bbe2b6426 100644 --- a/src/s/freebsd.h +++ b/src/s/freebsd.h @@ -167,3 +167,9 @@ be seen again in a later read(2), without the CRs. */ #define BROKEN_PTY_READ_AFTER_EAGAIN 1 + +/* Tell that garbage collector that setjmp is known to save all + registers relevant for conservative garbage collection in the + jmp_buf. */ + +#define GC_SETJMP_WORKS 1 diff --git a/src/s/msdos.h b/src/s/msdos.h index 164f139949f..71794be5760 100644 --- a/src/s/msdos.h +++ b/src/s/msdos.h @@ -269,3 +269,9 @@ You lose; /* Emacs for DOS must be compiled with DJGPP */ /* We need a little extra space, see ../../lisp/loadup.el */ #define SYSTEM_PURESIZE_EXTRA 60000 #endif + +/* Tell that garbage collector that setjmp is known to save all + registers relevant for conservative garbage collection in the + jmp_buf. */ + +#define GC_SETJMP_WORKS 1 -- 2.39.5