changeset 33654:75dc719a7183

Don't use `#cpu'.
author Gerd Moellmann <gerd@gnu.org>
date Mon, 20 Nov 2000 19:45:24 +0000
parents 55d418b6992e
children 4e6f5b318d20
files src/s/gnu-linux.h
diffstat 1 files changed, 5 insertions(+), 1 deletions(-) [+]
line wrap: on
line diff
--- a/src/s/gnu-linux.h	Mon Nov 20 19:29:19 2000 +0000
+++ b/src/s/gnu-linux.h	Mon Nov 20 19:45:24 2000 +0000
@@ -329,6 +329,10 @@
    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