From a8f77aaa34829ac461aca8c3715fa8fed5237d92 Mon Sep 17 00:00:00 2001 From: Gerd Moellmann Date: Mon, 20 Nov 2000 19:45:24 +0000 Subject: [PATCH] Don't use `#cpu'. --- src/s/gnu-linux.h | 6 +++++- 1 file changed, 5 insertions(+), 1 deletion(-) diff --git a/src/s/gnu-linux.h b/src/s/gnu-linux.h index d7bd8b96645..786db29155d 100644 --- a/src/s/gnu-linux.h +++ b/src/s/gnu-linux.h @@ -329,6 +329,10 @@ Boston, MA 02111-1307, USA. */ jmp_buf. */ /* m68k and alpha aren't tested, but there are Debian packages for SCM and/or Guile on them, so the technique must work. */ -#if #cpu (i386) || #cpu (sparc) || #cpu (m68k) || #cpu (alpha) + +/* Don't use #cpu here since in newest development versions of GCC, + we must call cpp with -traditional, and that disables #cpu. */ + +#if defined __i386__ || defined __sparc__ || defined __m68k__ || defined __alpha__ #define GC_SETJMP_WORKS 1 #endif -- 2.39.2