jdk/src/share/native/common/check_code.c
changeset 19610 2073a59a2787
parent 16066 b9fb0d9c58ec
child 22597 7515a991bb37
--- a/jdk/src/share/native/common/check_code.c	Wed Aug 28 22:11:14 2013 +0200
+++ b/jdk/src/share/native/common/check_code.c	Thu Aug 29 11:22:44 2013 +0200
@@ -90,6 +90,12 @@
 #include "classfile_constants.h"
 #include "opcodes.in_out"
 
+#ifdef __APPLE__
+/* use setjmp/longjmp versions that do not save/restore the signal mask */
+#define setjmp _setjmp
+#define longjmp _longjmp
+#endif
+
 #define MAX_ARRAY_DIMENSIONS 255
 /* align byte code */
 #ifndef ALIGN_UP