diff options
author | Joel Sherrill <joel.sherrill@OARcorp.com> | 1998-06-18 15:22:35 +0000 |
---|---|---|
committer | Joel Sherrill <joel.sherrill@OARcorp.com> | 1998-06-18 15:22:35 +0000 |
commit | 9a6994b490379074f546c395cb6d232cb1501348 (patch) | |
tree | 1e9a0c27d18cdbd202e0284d48a026807c6368c7 /cpukit/libcsupport/src | |
parent | Corrected so it returns the correct date. Previously was getting the number (diff) | |
download | rtems-9a6994b490379074f546c395cb6d232cb1501348.tar.bz2 |
Added freebsd support from Dario Alcocer <alcocer@connectnet.com>.
Diffstat (limited to 'cpukit/libcsupport/src')
-rw-r--r-- | cpukit/libcsupport/src/termios.c | 14 |
1 files changed, 14 insertions, 0 deletions
diff --git a/cpukit/libcsupport/src/termios.c b/cpukit/libcsupport/src/termios.c index 648e2c0c3e..0857f0eae7 100644 --- a/cpukit/libcsupport/src/termios.c +++ b/cpukit/libcsupport/src/termios.c @@ -25,6 +25,20 @@ #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 */ #define CBUFSIZE 256 |