vcl/source/filter/sgvspln.cxx | 11 +++++++++++ 1 file changed, 11 insertions(+)
New commits: commit 966fbbc78f0a154bb3f21506cf882b972c3652df Author: Miklos Vajna <vmik...@collabora.co.uk> Date: Wed Nov 4 14:13:22 2015 +0100 vcl: fix Android build See <https://code.google.com/p/android/issues/detail?id=74835>, Android's <cmath> currently does not provide std::copysign(), add a forwarding stub till it gets fixed. Change-Id: I49cc74ad1b61fed0460588150f21471d63e9069f diff --git a/vcl/source/filter/sgvspln.cxx b/vcl/source/filter/sgvspln.cxx index dedd999..1d95a05 100644 --- a/vcl/source/filter/sgvspln.cxx +++ b/vcl/source/filter/sgvspln.cxx @@ -23,6 +23,17 @@ #include <sgvspln.hxx> #include <cmath> +#if defined(ANDROID) +namespace std +{ +template<typename T> +T copysign(T x, T y) +{ + return copysign(x, y); +} +} +#endif + extern "C" { /*.pn 277 */ _______________________________________________ Libreoffice-commits mailing list libreoffice-comm...@lists.freedesktop.org http://lists.freedesktop.org/mailman/listinfo/libreoffice-commits