[Libreoffice-commits] core.git: sal/rtl
Miklos Vajna
vmiklos at collabora.co.uk
Mon Oct 26 07:52:07 UTC 2015
sal/rtl/math.cxx | 2 ++
1 file changed, 2 insertions(+)
New commits:
commit d366d680cb62a2c5a7246e7290ef74c7e52eb04f
Author: Miklos Vajna <vmiklos at collabora.co.uk>
Date: Mon Oct 26 08:49:45 2015 +0100
sal: fix Android build
Similar to 9a93277b869caca4db054385db59fc7b7d541570 (vcl: fix Android
build, 2015-03-06), where the Android has a broken C++ library, having
some functions in the global namespace instead of the std one.
Work around the problem by using the std namespace till it gets fixed on
the Android side.
Change-Id: I3d423f42b4e8e325beb3661c1780378e5edf962d
diff --git a/sal/rtl/math.cxx b/sal/rtl/math.cxx
index e0154f7..bedde1c 100644
--- a/sal/rtl/math.cxx
+++ b/sal/rtl/math.cxx
@@ -38,6 +38,8 @@
#include <stdlib.h>
#include <cmath>
+using namespace std;
+
static int const n10Count = 16;
static double const n10s[2][n10Count] = {
{ 1e1, 1e2, 1e3, 1e4, 1e5, 1e6, 1e7, 1e8,
More information about the Libreoffice-commits
mailing list