:: commit 1302c5e3710026255d2183250da9f24a14637dc2

Kamila Szewczyk <kspalaiologos@gmail.com> — 2022-05-12 09:09

parents: ccc79dff29

remove an autotools leftover

diff --git a/src/main.c b/src/main.c
index f5cce49..afa24ac 100644
--- a/src/main.c
+++ b/src/main.c
@@ -199,12 +199,10 @@ int main(int argc, char * argv[]) {
         return 1;
     }
 
-#if HAVE_ISATTY == 1 && HAVE_FILENO == 1
     if ((isatty(fileno(output_des)) && mode == 1) || (isatty(fileno(input_des)) && (mode == -1 || mode == 2))) {
         fprintf(stderr, "Refusing to read/write binary data from/to the terminal.\n");
         return 1;
     }
-#endif
 
     u8 byteswap_buf[4];
 
tab: 248 wrap: offon