forked from Imagelibrary/rtems
Added freebsd support from Dario Alcocer <alcocer@connectnet.com>.
This commit is contained in:
@@ -24,6 +24,20 @@
|
||||
#include <termios.h>
|
||||
#include <unistd.h>
|
||||
|
||||
/*
|
||||
* FreeBSD does not support a full POSIX termios so we have to help it out
|
||||
*/
|
||||
|
||||
|
||||
#if defined(__FreeBSD__)
|
||||
#define XTABS 0
|
||||
#define ONLRET 0
|
||||
#define ONOCR 0
|
||||
#define TABDLY 0
|
||||
#define OLCUC 0
|
||||
#define ILCUC 0
|
||||
#endif
|
||||
|
||||
/*
|
||||
* The size of the cooked buffer
|
||||
*/
|
||||
|
||||
Reference in New Issue
Block a user