From: Rich Felker Date: Wed, 29 Jan 2020 15:47:48 +0000 (-0500) Subject: fix misleading use of _POSIX_VDISABLE in sys/ttydefaults.h X-Git-Tag: v1.2.0~12 X-Git-Url: https://git.librecmc.org/?a=commitdiff_plain;h=e6093b5a870a38ebfb3e54382acd48c698bde15d;p=oweals%2Fmusl.git 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. --- diff --git a/include/sys/ttydefaults.h b/include/sys/ttydefaults.h index e5d4da2b..edb55bc4 100644 --- a/include/sys/ttydefaults.h +++ b/include/sys/ttydefaults.h @@ -9,13 +9,8 @@ #define CTRL(x) ((x)&037) #define CEOF CTRL('d') -#ifdef _POSIX_VDISABLE -#define CEOL _POSIX_VDISABLE -#define CSTATUS _POSIX_VDISABLE -#else #define CEOL '\0' #define CSTATUS '\0' -#endif #define CERASE 0177 #define CINTR CTRL('c')