summaryrefslogtreecommitdiff
path: root/linuxthreads/ptlongjmp.c
diff options
context:
space:
mode:
Diffstat (limited to 'linuxthreads/ptlongjmp.c')
-rw-r--r--linuxthreads/ptlongjmp.c2
1 files changed, 2 insertions, 0 deletions
diff --git a/linuxthreads/ptlongjmp.c b/linuxthreads/ptlongjmp.c
index ece553141f..c89d28bccd 100644
--- a/linuxthreads/ptlongjmp.c
+++ b/linuxthreads/ptlongjmp.c
@@ -59,6 +59,7 @@ void __pthread_cleanup_upto (__jmp_buf target, char *targetframe)
THREAD_SETMEM(self, p_in_sighandler, NULL);
}
+#ifdef SHARED
void siglongjmp (sigjmp_buf env, int val)
{
__libc_siglongjmp (env, val);
@@ -68,3 +69,4 @@ void longjmp (jmp_buf env, int val)
{
__libc_longjmp (env, val);
}
+#endif