mirror of
https://github.com/fish-shell/fish-shell
synced 2024-12-29 14:23:09 +00:00
Use int tputs_arg_t on netbsd
This commit is contained in:
parent
a3085a3059
commit
ee5e4cf8e2
1 changed files with 1 additions and 1 deletions
|
@ -46,7 +46,7 @@ int fish_mkstemp_cloexec(char *);
|
||||||
/// Under curses, tputs expects an int (*func)(char) as its last parameter, but in ncurses, tputs
|
/// Under curses, tputs expects an int (*func)(char) as its last parameter, but in ncurses, tputs
|
||||||
/// expects a int (*func)(int) as its last parameter. tputs_arg_t is defined to always be what tputs
|
/// expects a int (*func)(int) as its last parameter. tputs_arg_t is defined to always be what tputs
|
||||||
/// expects. Hopefully.
|
/// expects. Hopefully.
|
||||||
#ifdef NCURSES_VERSION
|
#if defined(NCURSES_VERSION) || defined(__NetBSD__)
|
||||||
typedef int tputs_arg_t;
|
typedef int tputs_arg_t;
|
||||||
#else
|
#else
|
||||||
typedef char tputs_arg_t;
|
typedef char tputs_arg_t;
|
||||||
|
|
Loading…
Reference in a new issue