From f9f0d902c123af52ef6aa0b13faf5bdee619cbbf Mon Sep 17 00:00:00 2001 From: Warner Losh Date: Mon, 22 Dec 2014 19:10:11 +0000 Subject: [PATCH] Make this compile when TERM_EMU is not defined. --- sys/boot/i386/libi386/spinconsole.c | 2 ++ 1 file changed, 2 insertions(+) diff --git a/sys/boot/i386/libi386/spinconsole.c b/sys/boot/i386/libi386/spinconsole.c index 752c29f5d4d5..161d81066b25 100644 --- a/sys/boot/i386/libi386/spinconsole.c +++ b/sys/boot/i386/libi386/spinconsole.c @@ -86,9 +86,11 @@ spinc_putchar(int c) if (now < (lasttime + 1)) return; lasttime = now; +#ifdef TERM_EMU get_pos(&curx, &cury); if (curx > 0) curs_move(&curx, &cury, curx - 1, cury); +#endif vidc_biosputchar((char)tw_chars); tw_chars = (tw_chars >> 8) | ((tw_chars & (unsigned long)0xFF) << 24); }