summaryrefslogtreecommitdiff
path: root/sal
diff options
context:
space:
mode:
authorMiklos Vajna <vmiklos@collabora.co.uk>2015-10-26 08:49:45 +0100
committerMiklos Vajna <vmiklos@collabora.co.uk>2015-10-26 08:51:39 +0100
commitd366d680cb62a2c5a7246e7290ef74c7e52eb04f (patch)
tree62b2f95cfacca148724d8dcf102f753ecfbfb9b5 /sal
parent3d784c4af6e0fdde0b7e555ad940bc13a61c2a22 (diff)
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
Diffstat (limited to 'sal')
-rw-r--r--sal/rtl/math.cxx2
1 files changed, 2 insertions, 0 deletions
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 <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,