summaryrefslogtreecommitdiff
path: root/arm/arm_init.c
diff options
context:
space:
mode:
authorJohn Bowler <jbowler@acm.org>2013-06-08 13:07:13 -0500
committerGlenn Randers-Pehrson <glennrp at users.sourceforge.net>2013-06-08 13:07:13 -0500
commit18dd07e3e64203b754e7afe0a5d2473861108459 (patch)
treebe89b519e5440e43c14e132e4923357bd3626f58 /arm/arm_init.c
parent0486b17fbdd17481962d6e697c2cfc7ece1a0548 (diff)
downloadlibpng-18dd07e3e64203b754e7afe0a5d2473861108459.tar.gz
[libpng16] Removed PNG_FILTER_OPTIMIZATIONS and PNG_ARM_NEON_SUPPORTED from
pnglibconf.h, allowing more of the decisions to be made internally (pngpriv.h) during the compile. Without this, symbol prefixing is broken under certain circumstances on ARM platforms. Now only the API parts of the optimizations ('check' vs 'api') are exposed in the public header files except that the new setting PNG_ARM_NEON_OPT documents how libpng makes the decision about whether or not to use the optimizations.
Diffstat (limited to 'arm/arm_init.c')
-rw-r--r--arm/arm_init.c4
1 files changed, 2 insertions, 2 deletions
diff --git a/arm/arm_init.c b/arm/arm_init.c
index c24b2a083..dbde0ac6a 100644
--- a/arm/arm_init.c
+++ b/arm/arm_init.c
@@ -16,7 +16,7 @@
#include "../pngpriv.h"
-#ifdef PNG_ARM_NEON_SUPPORTED
+#if PNG_ARM_NEON_OPT > 0
#ifdef PNG_ARM_NEON_CHECK_SUPPORTED /* Do run-time checks */
#include <signal.h> /* for sig_atomic_t */
@@ -216,4 +216,4 @@ png_init_filter_functions_neon(png_structp pp, unsigned int bpp)
png_read_filter_row_paeth4_neon;
}
}
-#endif /* PNG_ARM_NEON_SUPPORTED */
+#endif /* PNG_ARM_NEON_OPT > 0 */