vcl/source/gdi/CommonSalLayout.cxx | 11 +++++++++++ 1 file changed, 11 insertions(+)
New commits: commit 456363919105253dd344b80b3ad3f649662c5658 Author: Julien Nabet <serval2...@yahoo.fr> Date: Tue Dec 20 09:11:45 2016 +0100 vcl: fix Android build lround() is missing in the std namespace on the broken Android toolchain, work it around. (same as https://cgit.freedesktop.org/libreoffice/core/commit/?id=0cb7d76bc5552245642ba423a87831cd9e0b2b92) Change-Id: I84c97e6d6bcbc193565c01db3011eb9d4edba6a1 Reviewed-on: https://gerrit.libreoffice.org/32216 Reviewed-by: Julien Nabet <serval2...@yahoo.fr> Tested-by: Julien Nabet <serval2...@yahoo.fr> diff --git a/vcl/source/gdi/CommonSalLayout.cxx b/vcl/source/gdi/CommonSalLayout.cxx index 1e24223..f900d55 100644 --- a/vcl/source/gdi/CommonSalLayout.cxx +++ b/vcl/source/gdi/CommonSalLayout.cxx @@ -28,6 +28,17 @@ #include <salgdi.hxx> #include <unicode/uchar.h> +#if defined(ANDROID) +namespace std +{ +template<typename T> +T lround(T x) +{ + return ::lround(x); +} +} +#endif + static hb_blob_t* getFontTable(hb_face_t* /*face*/, hb_tag_t nTableTag, void* pUserData) { _______________________________________________ Libreoffice-commits mailing list libreoffice-comm...@lists.freedesktop.org https://lists.freedesktop.org/mailman/listinfo/libreoffice-commits