diff options
author | Peter S. Mazinger <ps.m@gmx.net> | 2011-03-13 21:24:42 +0100 |
---|---|---|
committer | Bernhard Reutner-Fischer <rep.dot.nop@gmail.com> | 2012-06-15 14:00:23 +0200 |
commit | 14647468df0b45ecf15223ee6a14ae50304b1f11 (patch) | |
tree | c7cf3f4ad230e671110ab98c8272c6cfdd1f98e0 /libpthread | |
parent | 591ffe08febbeeccf5373b29952f0f4db599a7e3 (diff) |
make use of jmpbuf-offsets.h and jmpbuf-unwind.h
Signed-off-by: Peter S. Mazinger <ps.m@gmx.net>
Signed-off-by: Bernhard Reutner-Fischer <rep.dot.nop@gmail.com>
Diffstat (limited to 'libpthread')
-rw-r--r-- | libpthread/linuxthreads.old/ptlongjmp.c | 1 | ||||
-rw-r--r-- | libpthread/linuxthreads/ptcleanup.c | 2 |
2 files changed, 2 insertions, 1 deletions
diff --git a/libpthread/linuxthreads.old/ptlongjmp.c b/libpthread/linuxthreads.old/ptlongjmp.c index c01b9194b..5cb708944 100644 --- a/libpthread/linuxthreads.old/ptlongjmp.c +++ b/libpthread/linuxthreads.old/ptlongjmp.c @@ -19,6 +19,7 @@ #include "pthread.h" #include "internals.h" #include <bits/stackinfo.h> +#include <jmpbuf-unwind.h> static void pthread_cleanup_upto(__jmp_buf target) { diff --git a/libpthread/linuxthreads/ptcleanup.c b/libpthread/linuxthreads/ptcleanup.c index 75bb7d599..88b9453ff 100644 --- a/libpthread/linuxthreads/ptcleanup.c +++ b/libpthread/linuxthreads/ptcleanup.c @@ -20,8 +20,8 @@ #include <setjmp.h> #include "pthread.h" #include "internals.h" -#ifndef NO_PTR_DEMANGLE #include <jmpbuf-unwind.h> +#ifndef NO_PTR_DEMANGLE #define __JMPBUF_UNWINDS(a,b,c) _JMPBUF_UNWINDS(a,b,c) #else #define __JMPBUF_UNWINDS(a,b,c) _JMPBUF_UNWINDS(a,b) |