fix misleading use of _POSIX_VDISABLE in sys/ttydefaults.h

_POSIX_VDISABLE is only visible if unistd.h has already been included,
so conditional use of it here makes no sense. the value is always 0
anyway; it does not vary.
This commit is contained in:
Rich Felker 2020-01-29 10:47:48 -05:00
parent a0217a2ff7
commit e6093b5a87
1 changed files with 0 additions and 5 deletions

View File

@ -9,13 +9,8 @@
#define CTRL(x) ((x)&037) #define CTRL(x) ((x)&037)
#define CEOF CTRL('d') #define CEOF CTRL('d')
#ifdef _POSIX_VDISABLE
#define CEOL _POSIX_VDISABLE
#define CSTATUS _POSIX_VDISABLE
#else
#define CEOL '\0' #define CEOL '\0'
#define CSTATUS '\0' #define CSTATUS '\0'
#endif
#define CERASE 0177 #define CERASE 0177
#define CINTR CTRL('c') #define CINTR CTRL('c')