Kaydet (Commit) 45636391 authored tarafından Julien Nabet's avatar Julien Nabet

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/32216Reviewed-by: 's avatarJulien Nabet <serval2412@yahoo.fr>
Tested-by: 's avatarJulien Nabet <serval2412@yahoo.fr>
üst b85699a0
......@@ -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)
{
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment