From 6105bc5bd5552afb2cbe025f6d5a19c966043c88 Mon Sep 17 00:00:00 2001 From: nick black Date: Thu, 26 Aug 2021 00:02:16 -0400 Subject: [PATCH] direct: remove windows ifdefs #2062 --- src/lib/direct.c | 4 ---- 1 file changed, 4 deletions(-) diff --git a/src/lib/direct.c b/src/lib/direct.c index 88e3443a9..834f4b6c4 100644 --- a/src/lib/direct.c +++ b/src/lib/direct.c @@ -405,7 +405,6 @@ detect_cursor_inversion_wrapper(ncdirect* n, const char* u7, int* y, int* x){ // the terminal, and then reading a response. many things can distupt this // non-atomic procedure, leading to unexpected results. a garbage function. int ncdirect_cursor_yx(ncdirect* n, int* y, int* x){ -#ifndef __MINGW64__ // FIXME struct termios termio, oldtermios; // this is only meaningful for real terminals if(n->tcache.ttyfd < 0){ @@ -460,9 +459,6 @@ int ncdirect_cursor_yx(ncdirect* n, int* y, int* x){ n->tcache.ttyfd, strerror(errno)); // don't return error for this } return ret; -#else - return -1; // FIXME -#endif } int ncdirect_cursor_push(ncdirect* n){