Sfoglia il codice sorgente

Fixup JMPBUF_UNWINDS so that is will compile if used :-)

David McCullough 22 anni fa
parent
commit
a0b93e7b31
1 ha cambiato i file con 1 aggiunte e 1 eliminazioni
  1. 1 1
      libc/sysdeps/linux/m68k/bits/setjmp.h

+ 1 - 1
libc/sysdeps/linux/m68k/bits/setjmp.h

@@ -40,4 +40,4 @@ typedef struct
 /* Test if longjmp to JMPBUF would unwind the frame
    containing a local variable at ADDRESS.  */
 #define _JMPBUF_UNWINDS(jmpbuf, address) \
-  ((void *) (address) < (void *) (jmpbuf)->__sp)
+  ((void *) (address) < (void *) (jmpbuf)->__aregs[5])