From 31593134627aace97738becb16b5235976f2aca0 Mon Sep 17 00:00:00 2001 From: Alan Cox Date: Tue, 30 Dec 2014 11:32:27 +0000 Subject: [PATCH] termios: correct NOFLUSH to NOFLSH and add _POSIX_VDISABLE --- Library/include/termios.h | 4 +++- 1 file changed, 3 insertions(+), 1 deletion(-) diff --git a/Library/include/termios.h b/Library/include/termios.h index 2aa76ac1..5b58dcde 100644 --- a/Library/include/termios.h +++ b/Library/include/termios.h @@ -111,10 +111,12 @@ struct termios { #define ICANON 0x0010 #define IEXTEN 0x0020 #define ISIG 0x0040 -#define NOFLUSH 0x0080 +#define NOFLSH 0x0080 #define TOSTOP 0x0100 #define XCASE 0x0200 +#define _POSIX_VDISABLE '\0' + #define TCSANOW 0 #define TCSADRAIN 1 #define TCSAFLUSH 2 -- 2.34.1