mirror of
https://github.com/signalwire/freeswitch.git
synced 2025-04-14 08:05:37 +00:00
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;
|
if (y) *y = csbi.dwSize.Y;
|
||||||
}
|
}
|
||||||
|
|
||||||
#elif TIOCGWINSZ
|
#elif defined(TIOCGWINSZ)
|
||||||
struct winsize w;
|
struct winsize w;
|
||||||
ioctl(0, TIOCGWINSZ, &w);
|
ioctl(0, TIOCGWINSZ, &w);
|
||||||
|
|
||||||
|
Loading…
x
Reference in New Issue
Block a user