fix unprotected macro argument in sys/ttydefaults.h

This commit is contained in:
Rich Felker 2020-01-29 10:47:19 -05:00
parent ff5b8ad386
commit a0217a2ff7
1 changed files with 1 additions and 1 deletions

View File

@ -6,7 +6,7 @@
#define TTYDEF_LFLAG (ECHO | ICANON | ISIG | IEXTEN | ECHOE|ECHOKE|ECHOCTL) #define TTYDEF_LFLAG (ECHO | ICANON | ISIG | IEXTEN | ECHOE|ECHOKE|ECHOCTL)
#define TTYDEF_CFLAG (CREAD | CS7 | PARENB | HUPCL) #define TTYDEF_CFLAG (CREAD | CS7 | PARENB | HUPCL)
#define TTYDEF_SPEED (B9600) #define TTYDEF_SPEED (B9600)
#define CTRL(x) (x&037) #define CTRL(x) ((x)&037)
#define CEOF CTRL('d') #define CEOF CTRL('d')
#ifdef _POSIX_VDISABLE #ifdef _POSIX_VDISABLE