src/share/native/sun/awt/libpng/png.h

Print this page
rev 9924 : 8026385: [macosx] (awt) setjmp/longjmp changes the process signal mask on OS X
Reviewed-by:
Contributed-by: David DeHaven <david.dehaven@oracle.com>


 432 #define PNG_LIBPNG_VER 10504 /* 1.5.4 */
 433 
 434 /* Library configuration: these options cannot be changed after
 435  * the library has been built.
 436  */
 437 #ifndef PNGLCONF_H
 438     /* If pnglibconf.h is missing, you can
 439      * copy scripts/pnglibconf.h.prebuilt to pnglibconf.h
 440      */
 441 #   include "pnglibconf.h"
 442 #endif
 443 
 444 #ifndef PNG_VERSION_INFO_ONLY
 445 #  ifndef PNG_BUILDING_SYMBOL_TABLE
 446   /*
 447    *   Standard header files (not needed for the version info or while
 448    *   building symbol table -- see scripts/pnglibconf.dfa)
 449    */
 450 #    ifdef PNG_SETJMP_SUPPORTED
 451 #      include <setjmp.h>







 452 #    endif
 453 
 454     /* Need the time information for converting tIME chunks, it
 455      * defines struct tm:
 456      */
 457 #    ifdef PNG_CONVERT_tIME_SUPPORTED
 458        /* "time.h" functions are not supported on all operating systems */
 459 #      include <time.h>
 460 #    endif
 461 #  endif
 462 
 463 /* Machine specific configuration. */
 464 #  include "pngconf.h"
 465 #endif
 466 
 467 /*
 468  * Added at libpng-1.2.8
 469  *
 470  * Ref MSDN: Private as priority over Special
 471  * VS_FF_PRIVATEBUILD File *was not* built using standard release




 432 #define PNG_LIBPNG_VER 10504 /* 1.5.4 */
 433 
 434 /* Library configuration: these options cannot be changed after
 435  * the library has been built.
 436  */
 437 #ifndef PNGLCONF_H
 438     /* If pnglibconf.h is missing, you can
 439      * copy scripts/pnglibconf.h.prebuilt to pnglibconf.h
 440      */
 441 #   include "pnglibconf.h"
 442 #endif
 443 
 444 #ifndef PNG_VERSION_INFO_ONLY
 445 #  ifndef PNG_BUILDING_SYMBOL_TABLE
 446   /*
 447    *   Standard header files (not needed for the version info or while
 448    *   building symbol table -- see scripts/pnglibconf.dfa)
 449    */
 450 #    ifdef PNG_SETJMP_SUPPORTED
 451 #      include <setjmp.h>
 452 #      ifdef __APPLE__
 453          /* use setjmp version that does not save the signal mask
 454           * a ptr to longjmp is provided by the client
 455           */
 456 #        define setjmp _setjmp
 457 #        define longjmp _longjmp
 458 #      endif
 459 #    endif
 460 
 461     /* Need the time information for converting tIME chunks, it
 462      * defines struct tm:
 463      */
 464 #    ifdef PNG_CONVERT_tIME_SUPPORTED
 465        /* "time.h" functions are not supported on all operating systems */
 466 #      include <time.h>
 467 #    endif
 468 #  endif
 469 
 470 /* Machine specific configuration. */
 471 #  include "pngconf.h"
 472 #endif
 473 
 474 /*
 475  * Added at libpng-1.2.8
 476  *
 477  * Ref MSDN: Private as priority over Special
 478  * VS_FF_PRIVATEBUILD File *was not* built using standard release