# HG changeset patch # User mbaesken # Date 1516199438 -3600 # Wed Jan 17 15:30:38 2018 +0100 # Node ID 7b9286adde8997de1c2de55595746d9823078994 # Parent 19effb7970bc7fdc13afd3532ba7d5d2c6d983eb 8195615: libsplashscreen linux ppc64le build error after libpng update diff --git a/src/java.desktop/share/native/libsplashscreen/libpng/pngpriv.h b/src/java.desktop/share/native/libsplashscreen/libpng/pngpriv.h --- a/src/java.desktop/share/native/libsplashscreen/libpng/pngpriv.h +++ b/src/java.desktop/share/native/libsplashscreen/libpng/pngpriv.h @@ -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