summaryrefslogtreecommitdiff
path: root/thirdparty/libpng
diff options
context:
space:
mode:
authorRuslan Mustakov <r.mustakov@gmail.com>2017-07-20 01:27:42 +0700
committerRuslan Mustakov <r.mustakov@gmail.com>2017-07-20 01:58:47 +0700
commitfbb27a0c43cb524b1bea79a3dad0e2f86a817b06 (patch)
tree6fb8bd1bdf5b7b12e2b71ff715060182f07723b8 /thirdparty/libpng
parent45b498c4e056e313e06b169d64f991b32db30423 (diff)
Fix android export templates build
This commit fixes errors occurring during Android export template builds. This required modification in third-party library (libpng) to compile with NEON. Most likely a similar patch will be applied by them and we could then replace the modified version.
Diffstat (limited to 'thirdparty/libpng')
-rw-r--r--thirdparty/libpng/pngpriv.h2
1 files changed, 1 insertions, 1 deletions
diff --git a/thirdparty/libpng/pngpriv.h b/thirdparty/libpng/pngpriv.h
index a062a8da16..77d30420a5 100644
--- a/thirdparty/libpng/pngpriv.h
+++ b/thirdparty/libpng/pngpriv.h
@@ -464,7 +464,7 @@
static_cast<type>(static_cast<void*>(value))
# define png_aligncastconst(type, value) \
static_cast<type>(static_cast<const void*>(value))
-#else
+#elif !defined(__ASSEMBLER__)
# define png_voidcast(type, value) (value)
# ifdef _WIN64
# ifdef __GNUC__