From: Chris Hanson Date: Tue, 29 Jan 2002 06:00:09 +0000 (+0000) Subject: Undefine false and true prior to including , to work around X-Git-Tag: 20090517-FFI~2282 X-Git-Url: https://birchwood-abbey.net/git?a=commitdiff_plain;h=35a0d7163b6c154a43b98d38088a14e932c07bdf;p=mit-scheme.git Undefine false and true prior to including , to work around bug in recent versions of ncurses. --- diff --git a/v7/src/microcode/tterm.c b/v7/src/microcode/tterm.c index ec549ea20..aac5f9d85 100644 --- a/v7/src/microcode/tterm.c +++ b/v7/src/microcode/tterm.c @@ -1,8 +1,8 @@ /* -*-C-*- -$Id: tterm.c,v 1.12 2001/03/03 05:17:36 cph Exp $ +$Id: tterm.c,v 1.13 2002/01/29 06:00:09 cph Exp $ -Copyright (c) 1990-2001 Massachusetts Institute of Technology +Copyright (c) 1990-2002 Massachusetts Institute of Technology This program is free software; you can redistribute it and/or modify it under the terms of the GNU General Public License as published by @@ -16,7 +16,8 @@ General Public License for more details. You should have received a copy of the GNU General Public License along with this program; if not, write to the Free Software -Foundation, Inc., 675 Mass Ave, Cambridge, MA 02139, USA. +Foundation, Inc., 59 Temple Place - Suite 330, Boston, MA 02111-1307, +USA. */ /* termcap(3) interface for Scheme. */ @@ -26,6 +27,11 @@ Foundation, Inc., 675 Mass Ave, Cambridge, MA 02139, USA. #include "osterm.h" #ifdef HAVE_LIBNCURSES +/* will define false and true, but in recent versions + having them defined prior to including can cause a + parsing error on GNU systems. */ +# undef false +# undef true # include # include #else