diff options
author | Stephane Carrez <stcarrez@nerim.fr> | 2002-10-25 19:46:04 +0000 |
---|---|---|
committer | Stephane Carrez <stcarrez@nerim.fr> | 2002-10-25 19:46:04 +0000 |
commit | 17aae57035372f21db4a0a0b7f167a08ff3feddc (patch) | |
tree | 8af93aa7663508f989f321cd00a7ed2d3d32979e /gdb/tui | |
parent | 0f59c96ffc8749d70350b1762bb1337410fffe87 (diff) | |
download | gdb-17aae57035372f21db4a0a0b7f167a08ff3feddc.zip gdb-17aae57035372f21db4a0a0b7f167a08ff3feddc.tar.gz gdb-17aae57035372f21db4a0a0b7f167a08ff3feddc.tar.bz2 |
Fix PR gdb/787
* tuiWin.c (ACS_LRCORNER, ACS_LLCORNER, ACS_ULCORNER, ACS_URCORNER,
ACS_HLINE, ACS_VLINE): Define if they don't exist.
Diffstat (limited to 'gdb/tui')
-rw-r--r-- | gdb/tui/ChangeLog | 6 | ||||
-rw-r--r-- | gdb/tui/tuiWin.c | 19 |
2 files changed, 25 insertions, 0 deletions
diff --git a/gdb/tui/ChangeLog b/gdb/tui/ChangeLog index 3bcfa17..7d67b5e 100644 --- a/gdb/tui/ChangeLog +++ b/gdb/tui/ChangeLog @@ -1,5 +1,11 @@ 2002-10-25 Stephane Carrez <stcarrez@nerim.fr> + 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 <stcarrez@nerim.fr> + Fix PR gdb/478 * tuiIO.c (tui_initialize_io): Use setvbuf since this is portable. diff --git a/gdb/tui/tuiWin.c b/gdb/tui/tuiWin.c index 38283b5..484c60a 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", |