NO_TERMS bug

From a bug report, a missing check for defined(NO_TERMS) in pcsys.c
would result in a link time error.
This commit is contained in:
cohrs
2002-07-09 04:09:09 +00:00
parent 40940991bb
commit 034892d5a8
2 changed files with 2 additions and 1 deletions

View File

@@ -177,6 +177,7 @@ Gnome: Dylan Alex Simon's port of KDE-style worn window
Gnome: Dylan Alex Simon's port of KDE-style hero cursor color
tty: support terms where turning off inverse video turns off color too
Gnome/Linux: more portable getres*id workaround
msdos: compiling without NO_TERMS resulted in a link-time error
General New Features

View File

@@ -408,7 +408,7 @@ void
msmsg VA_DECL(const char *, fmt)
VA_START(fmt);
VA_INIT(fmt, const char *);
# if defined(MSDOS)
# if defined(MSDOS) && defined(NO_TERMS)
if (iflags.grmode)
gr_finish();
# endif