# HG changeset patch # User mbaesken # Date 1516199438 -3600 # Node ID 256f31c1e05195e00093000403625ed1e42d1933 # Parent 2a6c704c15744daf7dd9f43b4968ef1cf027c552 8195615: libsplashscreen linux ppc64le build error after libpng update Reviewed-by: prr, mdoerr diff -r 2a6c704c1574 -r 256f31c1e051 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