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

fix Android build (desktop)

stol is missing in the std namespace on the broken Android toolchain, work it around.

(I copycat https://cgit.freedesktop.org/libreoffice/core/commit/?id=c2673a358c78b864c1276f7956d5a348003b7a02)

Change-Id: I4d85b81abf5d72c08d9aae72638823b8a0484cc1
Reviewed-on: https://gerrit.libreoffice.org/29921Tested-by: 's avatarJenkins <ci@libreoffice.org>
Reviewed-by: 's avatarJulien Nabet <serval2412@yahoo.fr>
üst 6d4f7734
......@@ -109,6 +109,12 @@ std::string to_string(T x)
stream << x;
return stream.str();
}
long stol( const std::string& str, std::size_t* /*pos*/ = 0, int base = 10 );
{
char* end;
return strtol(str.c_str(), &end, base);
}
}
#endif
......
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