fix linux_termio and linux_termios structs on alpha. alpha differences
are in the termios struct (probably because linux wants to be compatible with the osf/1 termios struct), not the termio struct.
This commit is contained in:
parent
62e12bb630
commit
e70ce4d9c5
@ -286,7 +286,7 @@
|
||||
#define LINUX_VQUIT 9
|
||||
#define LINUX_VMIN 16
|
||||
#define LINUX_VTIME 17
|
||||
#define LINUX_NCC 19
|
||||
#define LINUX_NCC 8
|
||||
|
||||
/* Linux termios c_cc values */
|
||||
#define LINUX_VEOL 1
|
||||
|
@ -130,15 +130,8 @@ struct linux_termio {
|
||||
unsigned short c_oflag;
|
||||
unsigned short c_cflag;
|
||||
unsigned short c_lflag;
|
||||
#ifdef __alpha__
|
||||
unsigned char c_cc[LINUX_NCCS];
|
||||
unsigned char c_line;
|
||||
unsigned int c_ispeed;
|
||||
unsigned int c_ospeed;
|
||||
#else
|
||||
unsigned char c_line;
|
||||
unsigned char c_cc[LINUX_NCC];
|
||||
#endif
|
||||
};
|
||||
|
||||
struct linux_termios {
|
||||
@ -146,8 +139,15 @@ struct linux_termios {
|
||||
unsigned int c_oflag;
|
||||
unsigned int c_cflag;
|
||||
unsigned int c_lflag;
|
||||
#ifdef __alpha__
|
||||
unsigned char c_cc[LINUX_NCCS];
|
||||
unsigned char c_line;
|
||||
unsigned int c_ispeed;
|
||||
unsigned int c_ospeed;
|
||||
#else
|
||||
unsigned char c_line;
|
||||
unsigned char c_cc[LINUX_NCCS];
|
||||
#endif
|
||||
};
|
||||
|
||||
struct linux_winsize {
|
||||
|
Loading…
Reference in New Issue
Block a user