aboutsummaryrefslogtreecommitdiff
path: root/src
diff options
context:
space:
mode:
authorenevill <none@none>2015-04-16 15:05:52 +0100
committerenevill <none@none>2015-04-16 15:05:52 +0100
commit387b4f3330e9e4ab0528bb2126adebc20b61dfd8 (patch)
treedbf98a3fa304ed14c64f0379a2b4a53673f44b51 /src
parent53c28c29cb66b5d61d2bbde72d6d040a9250d7e1 (diff)
Fix build for aarch64.HEADmaster
Diffstat (limited to 'src')
-rw-r--r--src/share/native/sun/awt/libpng/pngpriv.h4
1 files changed, 2 insertions, 2 deletions
diff --git a/src/share/native/sun/awt/libpng/pngpriv.h b/src/share/native/sun/awt/libpng/pngpriv.h
index 8f79edf59..db5b94592 100644
--- a/src/share/native/sun/awt/libpng/pngpriv.h
+++ b/src/share/native/sun/awt/libpng/pngpriv.h
@@ -151,8 +151,8 @@
* Note that gcc-4.9 defines __ARM_NEON instead of __ARM_NEON__, so we
* check both variants.
*/
-# if (defined(__ARM_NEON__) || defined(__ARM_NEON)) && \
- defined(PNG_ALIGNED_MEMORY_SUPPORTED)
+# if ((defined(__ARM_NEON__) || defined(__ARM_NEON)) && \
+ defined(PNG_ALIGNED_MEMORY_SUPPORTED)) && defined(__arm__)
# define PNG_ARM_NEON_OPT 2
# else
# define PNG_ARM_NEON_OPT 0