]> granicus.if.org Git - sudo/commitdiff
It is safe to assume _POSIX_VDISABLE is defined.
authorTodd C. Miller <Todd.Miller@sudo.ws>
Thu, 16 May 2019 18:24:48 +0000 (12:24 -0600)
committerTodd C. Miller <Todd.Miller@sudo.ws>
Thu, 16 May 2019 18:24:48 +0000 (12:24 -0600)
The old compat defines were to support pre-termios systems.

lib/util/term.c

index f1517213560668a7502ffb9c3e7732de9fa4b4e7..e1cf484499d7cc2e198aaf8ed462fb85323142fc 100644 (file)
 # define PENDIN                0
 #endif
 
-#ifndef _POSIX_VDISABLE
-# ifdef VDISABLE
-#  define _POSIX_VDISABLE      VDISABLE
-# else
-#  define _POSIX_VDISABLE      0
-# endif
-#endif
-
 static struct termios term, oterm;
 static int changed;