src/flac/utils.c : Fix compile guard for ioctl().
This commit is contained in:
parent
619d821b68
commit
c2aeedca3e
@ -183,7 +183,7 @@ int get_console_width(void)
|
||||
int s[2];
|
||||
_scrsize (s);
|
||||
width = s[0];
|
||||
#elif !defined __ANDROID__
|
||||
#elif defined GWINSZ_IN_SYS_IOCTL
|
||||
struct winsize w;
|
||||
if (ioctl(STDOUT_FILENO, TIOCGWINSZ, &w) != -1) width = w.ws_col;
|
||||
#endif
|
||||
|
Loading…
Reference in New Issue
Block a user