fixed incorrect #ifdef
termio uses "unsigned short" not int for c_?flag
This commit is contained in:
@@ -102,10 +102,10 @@ char * tgetpass(prompt, timeout)
|
|||||||
#else
|
#else
|
||||||
int oldmask;
|
int oldmask;
|
||||||
#endif
|
#endif
|
||||||
#ifdef HAVE_TERMIO_H
|
#ifdef HAVE_TERMIOS_H
|
||||||
tcflag_t svflagval;
|
tcflag_t svflagval;
|
||||||
#else
|
#else
|
||||||
int svflagval;
|
unsigned short svflagval;
|
||||||
#endif
|
#endif
|
||||||
fd_set readfds;
|
fd_set readfds;
|
||||||
struct timeval tv;
|
struct timeval tv;
|
||||||
|
Reference in New Issue
Block a user