Use POSIX macros for linux
This commit is contained in:
@@ -202,7 +202,7 @@ void local_channel_object_input_handler(void * client_data,
|
||||
timeout.tv_sec = 0;
|
||||
timeout.tv_usec = 0;
|
||||
|
||||
#if defined(SVR4) || defined(__hpux) || defined(__OpenBSD__) || defined(linux)
|
||||
#if defined(SVR4) || defined(__hpux) || defined(__OpenBSD__) || defined(__linux__)
|
||||
select(max_fds, (fd_set*)&read_fd_vect, NULL, (fd_set*)&except_fd_vect, &timeout);
|
||||
#else
|
||||
/* UX has select defined with int*, not fd_set* parms */
|
||||
|
||||
@@ -36,7 +36,7 @@
|
||||
#include <bms/stringbuf.h>
|
||||
|
||||
#include <termios.h>
|
||||
#if !defined(linux) && !defined(CSRG_BASED)
|
||||
#if !defined(__linux__) && !defined(CSRG_BASED)
|
||||
#include <sys/termio.h>
|
||||
#endif
|
||||
#include <codelibs/stringx.h>
|
||||
|
||||
Reference in New Issue
Block a user