diff options
Diffstat (limited to 'libpthread/nptl/sysdeps/mips/jmpbuf-unwind.h')
-rw-r--r-- | libpthread/nptl/sysdeps/mips/jmpbuf-unwind.h | 4 |
1 files changed, 4 insertions, 0 deletions
diff --git a/libpthread/nptl/sysdeps/mips/jmpbuf-unwind.h b/libpthread/nptl/sysdeps/mips/jmpbuf-unwind.h index 67cc96966..e882f13b2 100644 --- a/libpthread/nptl/sysdeps/mips/jmpbuf-unwind.h +++ b/libpthread/nptl/sysdeps/mips/jmpbuf-unwind.h @@ -27,4 +27,8 @@ ((uintptr_t) (_address) - (_adj) < (uintptr_t) (_jmpbuf)[0].__sp - (_adj)) /* We use the normal longjmp for unwinding. */ +#ifdef __UCLIBC__ +#define __libc_unwind_longjmp(buf, val) longjmp (buf, val) +#else #define __libc_unwind_longjmp(buf, val) __libc_longjmp (buf, val) +#endif |