From 0c4347bf19899f9ab6d6434277c8681a90387685 Mon Sep 17 00:00:00 2001 From: Holger Vogt Date: Tue, 4 Feb 2025 09:38:15 +0100 Subject: [PATCH] Exclude terminal code from MINGW compiling, as locations of curses.h has changed and linking to libncurses.a is not possible. --- src/frontend/terminal.c | 4 ++++ 1 file changed, 4 insertions(+) diff --git a/src/frontend/terminal.c b/src/frontend/terminal.c index 709ff37c1..bdfe23992 100644 --- a/src/frontend/terminal.c +++ b/src/frontend/terminal.c @@ -12,6 +12,10 @@ Author: 1986 Wayne A. Christopher, U. C. Berkeley CAD Group #include +/* temporarily exclude code from compiling with MINGW */ +#ifdef __MINGW32__ +#undef HAVE_TERMCAP +#endif #ifdef HAVE_SGTTY_H #include