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 | 2e4e0f232421ebb5fef03b0844235b72977a0199 (patch) | |
tree | e98c047d5c080b6885b97cd624f9de5ac6d94074 /gdb/tui | |
parent | 07bd895a0fe0e4764cca39f2a28197fcfc82b9ca (diff) | |
download | gdb-2e4e0f232421ebb5fef03b0844235b72977a0199.tar.gz |
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 3bcfa176f66..7d67b5e8b53 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 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", |