mirror of
https://git.freebsd.org/ports.git
synced 2025-06-08 22:30:38 -04:00
(libreadline.so.4) was the same name as the ports's library. So Rev 1.40 only worked if you manually installed the readline port. This fix allows gdb6 to build with the base stock readline.
15 lines
348 B
C
15 lines
348 B
C
// $FreeBSD$
|
|
|
|
extern void _rl_set_screen_size (int, int);
|
|
|
|
#define rl_set_screen_size _rl_set_screen_size
|
|
#define rl_filename_completion_function filename_completion_function
|
|
|
|
extern int screenwidth, screenheight;
|
|
|
|
static inline void
|
|
rl_get_screen_size (int *rows, int *cols)
|
|
{
|
|
if (rows) *rows = screenheight;
|
|
if (cols) *cols = screenwidth;
|
|
}
|