diff options
author | Kaz Kylheku <kaz@kylheku.com> | 2015-09-09 06:30:01 -0700 |
---|---|---|
committer | Kaz Kylheku <kaz@kylheku.com> | 2015-09-09 06:30:01 -0700 |
commit | f1283c762dbb0476de0eb9398e08aa0f2988e632 (patch) | |
tree | 2c092ae3a4398ebe214081501f4ddb2c9f867a15 /txr.c | |
parent | 76a770d9826c080f4d6be2cc959c3ce3e972c1b8 (diff) | |
download | txr-f1283c762dbb0476de0eb9398e08aa0f2988e632.tar.gz txr-f1283c762dbb0476de0eb9398e08aa0f2988e632.tar.bz2 txr-f1283c762dbb0476de0eb9398e08aa0f2988e632.zip |
Wrap call to repl with #if HAVE_TERMIOS.
* txr.c (txr_main): The repl funtion is not declared
unless HAVE_TERMIOS is present and nonzero.
Diffstat (limited to 'txr.c')
-rw-r--r-- | txr.c | 2 |
1 files changed, 2 insertions, 0 deletions
@@ -759,7 +759,9 @@ int txr_main(int argc, char **argv) return result ? 0 : EXIT_FAILURE; repl: +#if HAVE_TERMIOS repl(bindings, std_input, std_output); +#endif return 0; } } |