1
0
mirror of https://github.com/hashcat/hashcat.git synced 2024-11-21 23:58:07 +00:00

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>
This commit is contained in:
Rosen Penev 2023-07-09 16:52:03 -07:00
parent 1636bc41df
commit 147ec30fd6
No known key found for this signature in database
GPG Key ID: 36D31CFA845F0E3B

View File

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