* TCSETX/TCGETX ioctls used with struct termiox, others do not.
*/
+#ifdef __linux__
+
#include <linux/termios.h>
#include "linux_termios.h"
int get_termiox_flow(void *data)
{
struct termiox *termx = (struct termiox *) data;
-
int flags = 0;
+
if (termx->x_cflag & RTSXOFF)
flags |= RTS_FLOW;
if (termx->x_cflag & CTSXON)
termx->x_cflag |= DSRXON;
}
#endif
+
+#endif