From 966fbbc78f0a154bb3f21506cf882b972c3652df Mon Sep 17 00:00:00 2001 From: Miklos Vajna Date: Wed, 4 Nov 2015 14:13:22 +0100 Subject: vcl: fix Android build See , Android's currently does not provide std::copysign(), add a forwarding stub till it gets fixed. Change-Id: I49cc74ad1b61fed0460588150f21471d63e9069f --- vcl/source/filter/sgvspln.cxx | 11 +++++++++++ 1 file changed, 11 insertions(+) (limited to 'vcl') diff --git a/vcl/source/filter/sgvspln.cxx b/vcl/source/filter/sgvspln.cxx index dedd999bab18..1d95a05c2b62 100644 --- a/vcl/source/filter/sgvspln.cxx +++ b/vcl/source/filter/sgvspln.cxx @@ -23,6 +23,17 @@ #include #include +#if defined(ANDROID) +namespace std +{ +template +T copysign(T x, T y) +{ + return copysign(x, y); +} +} +#endif + extern "C" { /*.pn 277 */ -- cgit