changeset 48507:256f31c1e051

8195615: libsplashscreen linux ppc64le build error after libpng update Reviewed-by: prr, mdoerr
author mbaesken
date Wed, 17 Jan 2018 15:30:38 +0100
parents 2a6c704c1574
children 391502ceeed9
files src/java.desktop/share/native/libsplashscreen/libpng/pngpriv.h
diffstat 1 files changed, 2 insertions(+), 1 deletions(-) [+]
line wrap: on
line diff
--- a/src/java.desktop/share/native/libsplashscreen/libpng/pngpriv.h	Thu Jan 18 11:48:56 2018 +0800
+++ b/src/java.desktop/share/native/libsplashscreen/libpng/pngpriv.h	Wed Jan 17 15:30:38 2018 +0100
@@ -284,11 +284,12 @@
 #  endif
 #endif /* PNG_MIPS_MSA_OPT > 0 */
 
+#ifdef PNG_POWERPC_VSX_API_SUPPORTED
 #if PNG_POWERPC_VSX_OPT > 0
 #  define PNG_FILTER_OPTIMIZATIONS png_init_filter_functions_vsx
 #  define PNG_POWERPC_VSX_IMPLEMENTATION 1
 #endif
-
+#endif
 
 /* Is this a build of a DLL where compilation of the object modules requires
  * different preprocessor settings to those required for a simple library?  If