summaryrefslogtreecommitdiff
path: root/src/thread/pthread_testcancel.c
diff options
context:
space:
mode:
Diffstat (limited to 'src/thread/pthread_testcancel.c')
-rw-r--r--src/thread/pthread_testcancel.c3
1 files changed, 1 insertions, 2 deletions
diff --git a/src/thread/pthread_testcancel.c b/src/thread/pthread_testcancel.c
index 774b7068..c6b250b2 100644
--- a/src/thread/pthread_testcancel.c
+++ b/src/thread/pthread_testcancel.c
@@ -2,6 +2,5 @@
void pthread_testcancel()
{
- CANCELPT_BEGIN;
- CANCELPT_END;
+ if (libc.testcancel) libc.testcancel();
}