From: Jeff Lenk Date: Tue, 25 Sep 2012 13:55:44 +0000 (-0500) Subject: FS-4645 does this help X-Git-Tag: v1.3.0~172 X-Git-Url: http://git.ipfire.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=176d60beb337d91618942ee45afef8f1538e92fa;p=thirdparty%2Ffreeswitch.git FS-4645 does this help --- diff --git a/src/switch_core.c b/src/switch_core.c index 20dfd9b411..86804f09b7 100644 --- a/src/switch_core.c +++ b/src/switch_core.c @@ -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);