Browse Source

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

David McCullough 22 years ago
parent
commit
a0b93e7b31
1 changed files with 1 additions and 1 deletions
  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])