FS-4645 does this help
This commit is contained in:
parent
f997cc25d1
commit
176d60beb3
|
@ -201,7 +201,7 @@ SWITCH_DECLARE(void) switch_core_screen_size(int *x, int *y)
|
|||
if (y) *y = csbi.dwSize.Y;
|
||||
}
|
||||
|
||||
#elif TIOCGWINSZ
|
||||
#elif defined(TIOCGWINSZ)
|
||||
struct winsize w;
|
||||
ioctl(0, TIOCGWINSZ, &w);
|
||||
|
||||
|
|
Loading…
Reference in New Issue