Commit ef1981db authored by Jean-Claude Beaudoin's avatar Jean-Claude Beaudoin
Browse files

Clarify external allocation status of MK_GC_jmp_buf.

parent 1a024146
......@@ -2488,7 +2488,7 @@ MK_GC_INNER ptr_t MK_GC_store_debug_info(ptr_t p, word sz, const char *str,
#if defined(NEED_FIND_LIMIT) \
|| (defined(USE_PROC_FOR_LIBRARIES) && defined(THREADS))
JMP_BUF MK_GC_jmp_buf;
MK_GC_API JMP_BUF MK_GC_jmp_buf;
/* Set up a handler for address faults which will longjmp to */
/* MK_GC_jmp_buf; */
......
......@@ -529,6 +529,10 @@ MK_GC_INNER char * MK_GC_get_maps(void)
}
#endif /* NETBSD */
#ifdef JMP_BUF
JMP_BUF MK_GC_jmp_buf; /* JCB */
#endif
#ifdef OPENBSD
static struct sigaction old_segv_act;
STATIC sigjmp_buf MK_GC_jmp_buf_openbsd;
......
Markdown is supported
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment