< prev index next >

src/java.desktop/share/native/libsplashscreen/libpng/pngpriv.h

Print this page
rev 48543 : 8195615: libsplashscreen linux ppc64le build error after libpng update


 267 #if PNG_MIPS_MSA_OPT > 0
 268 #  define PNG_FILTER_OPTIMIZATIONS png_init_filter_functions_msa
 269 #  ifndef PNG_MIPS_MSA_IMPLEMENTATION
 270 #     if defined(__mips_msa)
 271 #        if defined(__clang__)
 272 #        elif defined(__GNUC__)
 273 #           if __GNUC__ < 4 || (__GNUC__ == 4 && __GNUC_MINOR__ < 7)
 274 #              define PNG_MIPS_MSA_IMPLEMENTATION 2
 275 #           endif /* no GNUC support */
 276 #        endif /* __GNUC__ */
 277 #     else /* !defined __mips_msa */
 278 #        define PNG_MIPS_MSA_IMPLEMENTATION 2
 279 #     endif /* __mips_msa */
 280 #  endif /* !PNG_MIPS_MSA_IMPLEMENTATION */
 281 
 282 #  ifndef PNG_MIPS_MSA_IMPLEMENTATION
 283 #     define PNG_MIPS_MSA_IMPLEMENTATION 1
 284 #  endif
 285 #endif /* PNG_MIPS_MSA_OPT > 0 */
 286 

 287 #if PNG_POWERPC_VSX_OPT > 0
 288 #  define PNG_FILTER_OPTIMIZATIONS png_init_filter_functions_vsx
 289 #  define PNG_POWERPC_VSX_IMPLEMENTATION 1
 290 #endif
 291 
 292 
 293 /* Is this a build of a DLL where compilation of the object modules requires
 294  * different preprocessor settings to those required for a simple library?  If
 295  * so PNG_BUILD_DLL must be set.
 296  *
 297  * If libpng is used inside a DLL but that DLL does not export the libpng APIs
 298  * PNG_BUILD_DLL must not be set.  To avoid the code below kicking in build a
 299  * static library of libpng then link the DLL against that.
 300  */
 301 #ifndef PNG_BUILD_DLL
 302 #  ifdef DLL_EXPORT
 303       /* This is set by libtool when files are compiled for a DLL; libtool
 304        * always compiles twice, even on systems where it isn't necessary.  Set
 305        * PNG_BUILD_DLL in case it is necessary:
 306        */
 307 #     define PNG_BUILD_DLL
 308 #  else
 309 #     ifdef _WINDLL
 310          /* This is set by the Microsoft Visual Studio IDE in projects that
 311           * build a DLL.  It can't easily be removed from those projects (it




 267 #if PNG_MIPS_MSA_OPT > 0
 268 #  define PNG_FILTER_OPTIMIZATIONS png_init_filter_functions_msa
 269 #  ifndef PNG_MIPS_MSA_IMPLEMENTATION
 270 #     if defined(__mips_msa)
 271 #        if defined(__clang__)
 272 #        elif defined(__GNUC__)
 273 #           if __GNUC__ < 4 || (__GNUC__ == 4 && __GNUC_MINOR__ < 7)
 274 #              define PNG_MIPS_MSA_IMPLEMENTATION 2
 275 #           endif /* no GNUC support */
 276 #        endif /* __GNUC__ */
 277 #     else /* !defined __mips_msa */
 278 #        define PNG_MIPS_MSA_IMPLEMENTATION 2
 279 #     endif /* __mips_msa */
 280 #  endif /* !PNG_MIPS_MSA_IMPLEMENTATION */
 281 
 282 #  ifndef PNG_MIPS_MSA_IMPLEMENTATION
 283 #     define PNG_MIPS_MSA_IMPLEMENTATION 1
 284 #  endif
 285 #endif /* PNG_MIPS_MSA_OPT > 0 */
 286 
 287 #ifdef PNG_POWERPC_VSX_API_SUPPORTED
 288 #if PNG_POWERPC_VSX_OPT > 0
 289 #  define PNG_FILTER_OPTIMIZATIONS png_init_filter_functions_vsx
 290 #  define PNG_POWERPC_VSX_IMPLEMENTATION 1
 291 #endif
 292 #endif
 293 
 294 /* Is this a build of a DLL where compilation of the object modules requires
 295  * different preprocessor settings to those required for a simple library?  If
 296  * so PNG_BUILD_DLL must be set.
 297  *
 298  * If libpng is used inside a DLL but that DLL does not export the libpng APIs
 299  * PNG_BUILD_DLL must not be set.  To avoid the code below kicking in build a
 300  * static library of libpng then link the DLL against that.
 301  */
 302 #ifndef PNG_BUILD_DLL
 303 #  ifdef DLL_EXPORT
 304       /* This is set by libtool when files are compiled for a DLL; libtool
 305        * always compiles twice, even on systems where it isn't necessary.  Set
 306        * PNG_BUILD_DLL in case it is necessary:
 307        */
 308 #     define PNG_BUILD_DLL
 309 #  else
 310 #     ifdef _WINDLL
 311          /* This is set by the Microsoft Visual Studio IDE in projects that
 312           * build a DLL.  It can't easily be removed from those projects (it


< prev index next >