Revert "Re move ANDROID pragma. This is not useful anymore (libicu) is now included"

This reverts commit 8a458417aa612409b8da9a44b9015786c2063244.
This commit is contained in:
Julian Harty 2014-10-08 10:44:55 +01:00
parent 05dc41157c
commit 378c66e16c
2 changed files with 8 additions and 0 deletions

View File

@ -33,6 +33,8 @@ void kiwix::loadICUExternalTables() {
#endif
}
#ifndef __ANDROID__
/* Prepare integer for display */
std::string kiwix::beautifyInteger(const unsigned int number) {
std::stringstream numberStream;
@ -141,6 +143,8 @@ std::string kiwix::urlEncode(const std::string &c) {
return escaped;
}
#endif
static char charFromHex(std::string a) {
std::istringstream Blat(a);
int Z;

View File

@ -39,6 +39,8 @@
namespace kiwix {
#ifndef __ANDROID__
std::string removeAccents(const std::string &text);
std::string beautifyInteger(const unsigned int number);
std::string beautifyFileSize(const unsigned int number);
@ -47,6 +49,8 @@ namespace kiwix {
void printStringInHexadecimal(UnicodeString s);
void stringReplacement(std::string& str, const std::string& oldStr, const std::string& newStr);
#endif
void loadICUExternalTables();
std::string urlDecode(const std::string &c);