JMP_BUF_GC_jmp_buf.patch 500 B

123456789101112131415
  1. Fix error pointed out by gcc10
  2. Upstream-Status: Pending
  3. Signed-off-by: Khem Raj <raj.khem@gmail.com>
  4. --- a/sigscheme/libgcroots/include/private/gc_priv.h
  5. +++ b/sigscheme/libgcroots/include/private/gc_priv.h
  6. @@ -2026,7 +2026,7 @@ void GC_err_puts(const char *s);
  7. # if defined(NEED_FIND_LIMIT) || \
  8. defined(USE_PROC_FOR_LIBRARIES) && defined(THREADS)
  9. -JMP_BUF GC_jmp_buf;
  10. +extern JMP_BUF GC_jmp_buf;
  11. /* Set up a handler for address faults which will longjmp to */
  12. /* GC_jmp_buf; */