summaryrefslogtreecommitdiff
path: root/vcl/source/filter
diff options
context:
space:
mode:
authorbrainbreaker <gautamprajapati06@gmail.com>2017-07-13 09:43:23 +0530
committerMiklos Vajna <vmiklos@collabora.co.uk>2017-07-18 10:14:39 +0200
commite530689ef6ba79a26162670580ba28f9b09eb689 (patch)
tree86d136f135951d709f2c95fd80c4e0fd2171740c /vcl/source/filter
parent6b0cace60b2ca1bd27132c77cd0cd7699386ede6 (diff)
Clean up android specific template functions defined in std namespace
Change-Id: I2094ee8eec00587f166d96723a02eb5957dbf79b Reviewed-on: https://gerrit.libreoffice.org/39890 Tested-by: Jenkins <ci@libreoffice.org> Reviewed-by: Miklos Vajna <vmiklos@collabora.co.uk>
Diffstat (limited to 'vcl/source/filter')
-rw-r--r--vcl/source/filter/sgvspln.cxx11
1 files changed, 1 insertions, 10 deletions
diff --git a/vcl/source/filter/sgvspln.cxx b/vcl/source/filter/sgvspln.cxx
index 7781849cda9d..6fa9da2c7916 100644
--- a/vcl/source/filter/sgvspln.cxx
+++ b/vcl/source/filter/sgvspln.cxx
@@ -24,16 +24,7 @@
#include <sgvspln.hxx>
#include <cmath>
-#if defined(ANDROID)
-namespace std
-{
-template<typename T>
-T copysign(T x, T y)
-{
- return ::copysign(x, y);
-}
-}
-#endif
+#include <android/compatibility.hxx>
extern "C" {