From d366d680cb62a2c5a7246e7290ef74c7e52eb04f Mon Sep 17 00:00:00 2001 From: Miklos Vajna Date: Mon, 26 Oct 2015 08:49:45 +0100 Subject: 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 --- sal/rtl/math.cxx | 2 ++ 1 file changed, 2 insertions(+) (limited to 'sal') diff --git a/sal/rtl/math.cxx b/sal/rtl/math.cxx index e0154f7ab2e3..bedde1c4bf07 100644 --- a/sal/rtl/math.cxx +++ b/sal/rtl/math.cxx @@ -38,6 +38,8 @@ #include #include +using namespace std; + static int const n10Count = 16; static double const n10s[2][n10Count] = { { 1e1, 1e2, 1e3, 1e4, 1e5, 1e6, 1e7, 1e8, -- cgit