From: Chris Hanson Date: Tue, 29 Jan 2008 02:21:46 +0000 (+0000) Subject: Add "guard" to prevent use of in old versions of GCC. X-Git-Tag: 20090517-FFI~379 X-Git-Url: https://birchwood-abbey.net/git?a=commitdiff_plain;h=077cabf3f880cc77dca409f8227c25b20330207f;p=mit-scheme.git Add "guard" to prevent use of in old versions of GCC. Although we don't load that file, it is indirectly loaded by some other include files. --- diff --git a/v7/src/microcode/confshared.h b/v7/src/microcode/confshared.h index 015f8272e..22712d834 100644 --- a/v7/src/microcode/confshared.h +++ b/v7/src/microcode/confshared.h @@ -1,6 +1,6 @@ /* -*-C-*- -$Id: confshared.h,v 11.14 2008/01/29 02:01:56 cph Exp $ +$Id: confshared.h,v 11.15 2008/01/29 02:21:46 cph Exp $ Copyright (C) 1986, 1987, 1988, 1989, 1990, 1991, 1992, 1993, 1994, 1995, 1996, 1997, 1998, 1999, 2000, 2001, 2002, 2003, 2004, 2005, @@ -104,6 +104,11 @@ USA. # define false 0 # define true 1 # define __bool_true_false_are_defined 1 +# ifdef __GNUC__ + /* Old versions of GCC have an incompatible . + This declaration should prevent them from overriding our defs. */ +# define _STDBOOL_H +# endif #endif #ifdef HAVE_STDINT_H