diff options
Diffstat (limited to 'src/thread/pthread_testcancel.c')
-rw-r--r-- | src/thread/pthread_testcancel.c | 3 |
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(); } |