[sword-cvs] sword/src/frontend swdisp.cpp,1.6,1.7 swlog.cpp,1.14,1.15
sword@www.crosswire.org
sword@www.crosswire.org
Thu, 15 Jan 2004 20:42:43 -0700
Update of /cvs/core/sword/src/frontend
In directory www:/tmp/cvs-serv22315/src/frontend
Modified Files:
swdisp.cpp swlog.cpp
Log Message:
WINCE fixes
Index: swdisp.cpp
===================================================================
RCS file: /cvs/core/sword/src/frontend/swdisp.cpp,v
retrieving revision 1.6
retrieving revision 1.7
diff -u -d -r1.6 -r1.7
--- swdisp.cpp 1 Oct 2002 19:52:40 -0000 1.6
+++ swdisp.cpp 16 Jan 2004 03:42:41 -0000 1.7
@@ -3,7 +3,9 @@
* types of displays (e.g. raw textout, curses, xwindow, etc.)
*/
+#ifndef _WIN32_WCE
#include <iostream>
+#endif
#include <swmodule.h>
#include <swdisp.h>
@@ -24,7 +26,9 @@
char SWDisplay::Display(SWModule &imodule)
{
+#ifndef _WIN32_WCE
std::cout << (const char *)imodule;
+#endif
return 0;
}
Index: swlog.cpp
===================================================================
RCS file: /cvs/core/sword/src/frontend/swlog.cpp,v
retrieving revision 1.14
retrieving revision 1.15
diff -u -d -r1.14 -r1.15
--- swlog.cpp 23 Dec 2003 01:35:05 -0000 1.14
+++ swlog.cpp 16 Jan 2004 03:42:41 -0000 1.15
@@ -2,7 +2,9 @@
#include <stdarg.h>
#include <stdio.h>
+#ifndef _WIN32_WCE
#include <iostream>
+#endif
#if defined(_ICU_) && !defined(_ICUSWORD_)
#define _USTDIO_
#include <unicode/ustdio.h>