fix compilation with FreeBSD

FreeBSD is checked for in two places and two duplicate functions are
used. Just use the former.

Signed-off-by: Rosen Penev <rosenp@gmail.com>
pull/3793/head
Rosen Penev 10 months ago
parent 1636bc41df
commit 147ec30fd6
No known key found for this signature in database
GPG Key ID: 36D31CFA845F0E3B

@ -490,7 +490,7 @@ int tty_fix ()
}
#endif
#if defined (__APPLE__) || defined (__FreeBSD__)
#if defined (__APPLE__)
static struct termios savemodes;
static int havemodes = 0;

Loading…
Cancel
Save