Fix so that Imagewriter will build without SDL.

This commit is contained in:
Christopher Mason 2014-04-03 19:34:59 +00:00
parent 9fe038c8d0
commit 408c0453d1
3 changed files with 5 additions and 2 deletions

View File

@ -410,7 +410,7 @@ void Imagewriter::updateFont()
FT_Set_Transform(curFont, &matrix, 0);
}
}
#endif // HAVE_SDL
void Imagewriter::updateSwitch()
{
@ -447,6 +447,8 @@ void Imagewriter::slashzero(Bit16u penX, Bit16u penY)
blitGlyph(slashFont->glyph->bitmap, penX+3, penY, true);
}
}
#endif // HAVE_SDL
#ifdef HAVE_SDL
bool Imagewriter::processCommandChar(Bit8u ch)
{

View File

@ -96,7 +96,7 @@ void scc_imagewriter_empty_writebuf(int port, double dcycs)
int len;
int done;
//int ret;
DWORD bytes_written;
unsigned long bytes_written;
scc_ptr = &(scc_stat[port]);
done = 0;

View File

@ -27,6 +27,7 @@
#include "tfe/protos_tfe.h"
#endif
#include "printer.h"
#include "imagewriter.h"
#ifdef UNDER_CE
#define vsnprintf _vsnprintf