[sword-svn] r1998 - trunk/utilities
dglassey at www.crosswire.org
dglassey at www.crosswire.org
Sat Nov 25 08:17:42 MST 2006
Author: dglassey
Date: 2006-11-25 08:17:42 -0700 (Sat, 25 Nov 2006)
New Revision: 1998
Modified:
trunk/utilities/imp2gbs.cpp
Log:
put the ICU ifdefs back so you can compile without ICU
Modified: trunk/utilities/imp2gbs.cpp
===================================================================
--- trunk/utilities/imp2gbs.cpp 2006-11-25 15:08:00 UTC (rev 1997)
+++ trunk/utilities/imp2gbs.cpp 2006-11-25 15:17:42 UTC (rev 1998)
@@ -12,7 +12,7 @@
#include <utf8greekaccents.h>
#include <stringmgr.h>
-//#ifdef _ICU_
+#ifdef _ICU_
#include <unicode/utypes.h>
#include <unicode/ucnv.h>
@@ -24,7 +24,7 @@
#include <unicode/locid.h>
-//#endif
+#endif
#ifndef NO_SWORD_NAMESPACE
using namespace sword;
@@ -120,7 +120,7 @@
StringMgr::getSystemStringMgr()->upperUTF8(keyBuffer.getRawData(), size-2);
}
-//#ifdef _ICU_
+#ifdef _ICU_
// if (lexLevels) {
if (lexLevels && !keyBuffer.startsWith("/Intro")) {
unsigned size = (keyBuffer.size()+(lexLevels*2));
@@ -177,7 +177,7 @@
delete [] ubuffer;
}
-//#endif
+#endif
std::cout << keyBuffer << std::endl;
More information about the sword-cvs
mailing list