From: Ben Gras Date: Fri, 12 Oct 2012 12:43:18 +0000 (+0200) Subject: expose some terminal definitions by default X-Git-Tag: v3.2.1~286 X-Git-Url: http://zhaoyanbai.com/repos/doc/html/index.html?a=commitdiff_plain;h=e12fdad66d76a3c0741a0c89cec86264fc801018;p=minix.git expose some terminal definitions by default --- diff --git a/common/include/termios.h b/common/include/termios.h index 18ebd29f7..5818e31a9 100644 --- a/common/include/termios.h +++ b/common/include/termios.h @@ -145,12 +145,6 @@ int tcsetattr(int _filedes, int _opt_actions, const struct termios #define cfsetospeed(termios_p, speed) ((termios_p)->c_ospeed = (speed), 0) #endif -#ifdef _MINIX -/* Here are the local extensions to the POSIX standard for Minix. Posix - * conforming programs are not able to access these, and therefore they are - * only defined when a Minix program is compiled. - */ - /* Extensions to the termios c_iflag bit map. */ #define IXANY 0x0800 /* allow any key to continue ouptut */ #define SCANCODES 0x1000 /* send scancodes */ @@ -201,7 +195,6 @@ int tcsetattr(int _filedes, int _opt_actions, const struct termios * The ioctls TIOCGWINSZ and TIOCSWINSZ can be used to get and set this * information. */ -#endif /* _MINIX */ struct winsize {