8195615: libsplashscreen linux ppc64le build error after libpng update
authormbaesken
Wed, 17 Jan 2018 15:30:38 +0100
changeset 48600 256f31c1e051
parent 48599 2a6c704c1574
child 48601 391502ceeed9
8195615: libsplashscreen linux ppc64le build error after libpng update Reviewed-by: prr, mdoerr
src/java.desktop/share/native/libsplashscreen/libpng/pngpriv.h
--- 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