src/java.desktop/share/native/libsplashscreen/libpng/pngpriv.h
changeset 48600 256f31c1e051
parent 48280 791d551bcdb8
child 51304 66d9993dd4ad
--- 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