瀏覽代碼

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

David McCullough 23 年之前
父節點
當前提交
a0b93e7b31
共有 1 個文件被更改,包括 1 次插入1 次删除
  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])