1
0
mirror of https://git.FreeBSD.org/src.git synced 2024-12-18 10:35:55 +00:00

Make this compile when TERM_EMU is not defined.

This commit is contained in:
Warner Losh 2014-12-22 19:10:11 +00:00
parent 2f834a0b41
commit f9f0d902c1
Notes: svn2git 2020-12-20 02:59:44 +00:00
svn path=/head/; revision=276074

View File

@ -86,9 +86,11 @@ spinc_putchar(int c)
if (now < (lasttime + 1)) if (now < (lasttime + 1))
return; return;
lasttime = now; lasttime = now;
#ifdef TERM_EMU
get_pos(&curx, &cury); get_pos(&curx, &cury);
if (curx > 0) if (curx > 0)
curs_move(&curx, &cury, curx - 1, cury); curs_move(&curx, &cury, curx - 1, cury);
#endif
vidc_biosputchar((char)tw_chars); vidc_biosputchar((char)tw_chars);
tw_chars = (tw_chars >> 8) | ((tw_chars & (unsigned long)0xFF) << 24); tw_chars = (tw_chars >> 8) | ((tw_chars & (unsigned long)0xFF) << 24);
} }