From: Chris Hanson Date: Tue, 29 Jan 2008 02:27:47 +0000 (+0000) Subject: Change GCC restriction to be versioned. X-Git-Tag: 20090517-FFI~377 X-Git-Url: https://birchwood-abbey.net/git?a=commitdiff_plain;h=cba6ca7af9ca3cde3b15df3b27ce4ce8df17b852;p=mit-scheme.git Change GCC restriction to be versioned. --- diff --git a/v7/src/microcode/confshared.h b/v7/src/microcode/confshared.h index 7d7147f9f..f540a8b5d 100644 --- a/v7/src/microcode/confshared.h +++ b/v7/src/microcode/confshared.h @@ -1,6 +1,6 @@ /* -*-C-*- -$Id: confshared.h,v 11.16 2008/01/29 02:26:33 cph Exp $ +$Id: confshared.h,v 11.17 2008/01/29 02:27:47 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,7 +104,7 @@ USA. # define false 0 # define true 1 # define __bool_true_false_are_defined 1 -# ifdef __GNUC__ +# if ((defined (__GNUC__)) && (__GNUC__ < 3)) /* Old versions of GCC have an incompatible . This declaration should prevent them from overriding our defs. */ # define __STDBOOL_H__ 1