Exclude terminal code from MINGW compiling,

as locations of curses.h has changed and linking
to libncurses.a is not possible.
This commit is contained in:
Holger Vogt 2025-02-04 09:38:15 +01:00
parent bd2a2144dc
commit 0c4347bf19
1 changed files with 4 additions and 0 deletions

View File

@ -12,6 +12,10 @@ Author: 1986 Wayne A. Christopher, U. C. Berkeley CAD Group
#include <stdarg.h>
/* temporarily exclude code from compiling with MINGW */
#ifdef __MINGW32__
#undef HAVE_TERMCAP
#endif
#ifdef HAVE_SGTTY_H
#include <sgtty.h>