From 17aae57035372f21db4a0a0b7f167a08ff3feddc Mon Sep 17 00:00:00 2001 From: Stephane Carrez Date: Fri, 25 Oct 2002 19:46:04 +0000 Subject: [PATCH] Fix PR gdb/787 * tuiWin.c (ACS_LRCORNER, ACS_LLCORNER, ACS_ULCORNER, ACS_URCORNER, ACS_HLINE, ACS_VLINE): Define if they don't exist. --- gdb/tui/ChangeLog | 6 ++++++ gdb/tui/tuiWin.c | 19 +++++++++++++++++++ 2 files changed, 25 insertions(+) diff --git a/gdb/tui/ChangeLog b/gdb/tui/ChangeLog index 3bcfa176f66..7d67b5e8b53 100644 --- a/gdb/tui/ChangeLog +++ b/gdb/tui/ChangeLog @@ -1,3 +1,9 @@ +2002-10-25 Stephane Carrez + + Fix PR gdb/787 + * tuiWin.c (ACS_LRCORNER, ACS_LLCORNER, ACS_ULCORNER, ACS_URCORNER, + ACS_HLINE, ACS_VLINE): Define if they don't exist. + 2002-10-25 Stephane Carrez Fix PR gdb/478 diff --git a/gdb/tui/tuiWin.c b/gdb/tui/tuiWin.c index 38283b59da1..484c60a6204 100644 --- a/gdb/tui/tuiWin.c +++ b/gdb/tui/tuiWin.c @@ -96,6 +96,25 @@ static void _parseScrollingArgs (char *, TuiWinInfoPtr *, int *); ** PUBLIC FUNCTIONS ***************************************/ +#ifndef ACS_LRCORNER +# define ACS_LRCORNER '+' +#endif +#ifndef ACS_LLCORNER +# define ACS_LLCORNER '+' +#endif +#ifndef ACS_ULCORNER +# define ACS_ULCORNER '+' +#endif +#ifndef ACS_URCORNER +# define ACS_URCORNER '+' +#endif +#ifndef ACS_HLINE +# define ACS_HLINE '-' +#endif +#ifndef ACS_VLINE +# define ACS_VLINE '|' +#endif + /* Possible values for tui-border-kind variable. */ static const char *tui_border_kind_enums[] = { "space", -- 2.30.2