diff options
author | Kaz Kylheku <kaz@kylheku.com> | 2021-08-13 06:38:31 -0700 |
---|---|---|
committer | Kaz Kylheku <kaz@kylheku.com> | 2021-08-13 06:38:31 -0700 |
commit | 1d4ee06fa69c69d97a72d9dd83008ecc8aa99ec5 (patch) | |
tree | ed1a44b7603b1d69dd7d511c80d65eeb3b8f81c9 | |
parent | e87aa92d7a380f1d28ddb195aefa8d350d206bfa (diff) | |
download | txr-1d4ee06fa69c69d97a72d9dd83008ecc8aa99ec5.tar.gz txr-1d4ee06fa69c69d97a72d9dd83008ecc8aa99ec5.tar.bz2 txr-1d4ee06fa69c69d97a72d9dd83008ecc8aa99ec5.zip |
termios: FreeBSD has no TAB1 and TAB2.
* termios.c (termios_init): Separate the #ifdef conditions for the
TAB* identifiers, instead of assuming that TABDLY covers them
all.
-rw-r--r-- | termios.c | 8 |
1 files changed, 8 insertions, 0 deletions
@@ -489,9 +489,17 @@ void termios_init(void) #endif #ifdef TABDLY reg_varl(intern(lit("tabdly"), user_package), num_fast(TABDLY)); +#endif +#ifdef TAB0 reg_varl(intern(lit("tab0"), user_package), num_fast(TAB0)); +#endif +#ifdef TAB1 reg_varl(intern(lit("tab1"), user_package), num_fast(TAB1)); +#endif +#ifdef TAB2 reg_varl(intern(lit("tab2"), user_package), num_fast(TAB2)); +#endif +#ifdef TAB3 reg_varl(intern(lit("tab3"), user_package), num_fast(TAB3)); #endif #ifdef BSDLY |