floating point environment, untested
[oweals/musl.git] / src / thread / pthread_testcancel.c
index 774b70689978f0e351fa30b13976ccf227051f24..c6b250b2ccd6cb1af3a65587b21e229b92e055f8 100644 (file)
@@ -2,6 +2,5 @@
 
 void pthread_testcancel()
 {
-       CANCELPT_BEGIN;
-       CANCELPT_END;
+       if (libc.testcancel) libc.testcancel();
 }