stty: sort out preprocessor conditionals
* Move the definitions of missing constants to the top of the file. * Fix undefined IDX_xxx on missing termios constants. * FreeBSD has TABDLY, TAB0 and TAB3, but no TAB1 or TAB2 * Omit the definition of set_window_size() if TIOCGWINSZ is not available. Signed-off-by: Jeremie Koenig <jk@jk.fr.eu.org> Signed-off-by: Denys Vlasenko <vda.linux@googlemail.com>
This commit is contained in:
committed by
Denys Vlasenko
parent
63c2e7ecc0
commit
138ce54c9c
@@ -607,7 +607,6 @@ config FEATURE_STAT_FORMAT
|
||||
config STTY
|
||||
bool "stty"
|
||||
default y
|
||||
depends on PLATFORM_LINUX
|
||||
help
|
||||
stty is used to change and print terminal line settings.
|
||||
|
||||
|
Reference in New Issue
Block a user