Author: imp
Date: Mon Dec 22 19:10:11 2014
New Revision: 276074
URL: https://svnweb.freebsd.org/changeset/base/276074

Log:
  Make this compile when TERM_EMU is not defined.

Modified:
  head/sys/boot/i386/libi386/spinconsole.c

Modified: head/sys/boot/i386/libi386/spinconsole.c
==============================================================================
--- head/sys/boot/i386/libi386/spinconsole.c    Mon Dec 22 19:08:09 2014        
(r276073)
+++ head/sys/boot/i386/libi386/spinconsole.c    Mon Dec 22 19:10:11 2014        
(r276074)
@@ -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);
 }
_______________________________________________
svn-src-all@freebsd.org mailing list
http://lists.freebsd.org/mailman/listinfo/svn-src-all
To unsubscribe, send any mail to "svn-src-all-unsubscr...@freebsd.org"

Reply via email to