office-gobmx/libodfgen/libodfgen-0.0.0-android.patch
Fridrich Štrba 8f891ad025 Trying to fix android build of libodfgen
Change-Id: I40be8e54199baf6f24a7b69b268fbff713a9a0a6
2013-05-02 21:41:33 +02:00

13 lines
412 B
Diff

diff --git a/src/OdgGenerator.cxx b/src/OdgGenerator.cxx
index 39d571b..5ebf60d 100644
--- a/src/OdgGenerator.cxx
+++ b/src/OdgGenerator.cxx
@@ -282,7 +282,7 @@ static WPXString doubleToString(const double value)
{
WPXString tempString;
tempString.sprintf("%.4f", value);
-#ifndef ANDROID
+#ifndef __ANDROID__
std::string decimalPoint(localeconv()->decimal_point);
#else
std::string decimalPoint(".");