diff options
author | John Bowler <jbowler@acm.org> | 2013-07-02 22:57:40 -0500 |
---|---|---|
committer | Glenn Randers-Pehrson <glennrp at users.sourceforge.net> | 2013-07-02 22:57:40 -0500 |
commit | 497e7319f4ecf127f786551026090ece2f752b7c (patch) | |
tree | 58dccbada2cccd4ae10bfbda991d0d1dea9c4d5c /arm/arm_init.c | |
parent | d5dd93f5d1a6c411f75501a122ac2d32d5956b24 (diff) | |
download | libpng-497e7319f4ecf127f786551026090ece2f752b7c.tar.gz |
[libpng16] Only compile ARM code when PNG_READ_SUPPORTED is defined.
Diffstat (limited to 'arm/arm_init.c')
-rw-r--r-- | arm/arm_init.c | 2 |
1 files changed, 2 insertions, 0 deletions
diff --git a/arm/arm_init.c b/arm/arm_init.c index 36eacde9e..33d667292 100644 --- a/arm/arm_init.c +++ b/arm/arm_init.c @@ -16,6 +16,7 @@ #include "../pngpriv.h" +#ifdef PNG_READ_SUPPORTED #if PNG_ARM_NEON_OPT > 0 #ifdef PNG_ARM_NEON_CHECK_SUPPORTED /* Do run-time checks */ #include <signal.h> /* for sig_atomic_t */ @@ -217,3 +218,4 @@ png_init_filter_functions_neon(png_structp pp, unsigned int bpp) } } #endif /* PNG_ARM_NEON_OPT > 0 */ +#endif /* PNG_READ_SUPPORTED */ |