mirror of git://git.musl-libc.org/musl
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:
parent
a0217a2ff7
commit
e6093b5a87
|
@ -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')
|
||||||
|
|
Loading…
Reference in New Issue