src/share/native/sun/awt/splashscreen/splashscreen_jpeg.c

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

*** 28,37 **** --- 28,43 ---- #include "jpeglib.h" #include "jerror.h" #include <setjmp.h> + #ifdef __APPLE__ + /* use setjmp/longjmp versions that do not save/restore the signal mask */ + #define setjmp _setjmp + #define longjmp _longjmp + #endif + /* stream input handling */ typedef struct { struct jpeg_source_mgr pub; /* public fields */