Explorar el Código

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

David McCullough hace 23 años
padre
commit
a0b93e7b31
Se han modificado 1 ficheros con 1 adiciones y 1 borrados
  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])