From 077cabf3f880cc77dca409f8227c25b20330207f Mon Sep 17 00:00:00 2001 From: Chris Hanson Date: Tue, 29 Jan 2008 02:21:46 +0000 Subject: [PATCH] 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. --- v7/src/microcode/confshared.h | 7 ++++++- 1 file changed, 6 insertions(+), 1 deletion(-) 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 -- 2.25.1