diff --git a/src/uifc/uifcx.c b/src/uifc/uifcx.c index f9785ebe471037b7f08b64903aad3731bd3496f9..2a58e3f4d4cdb0ba59c07da212a9400cac2d9a46 100644 --- a/src/uifc/uifcx.c +++ b/src/uifc/uifcx.c @@ -110,9 +110,11 @@ static int getstr(char* str, int maxlen) { char ch; int len=0; +#ifdef __unix__ int istty; istty=isatty(fileno(stdin)); +#endif while(1) { fread(&ch,1,1,stdin); #ifdef __unix__