X-Git-Url: http://nsz.repo.hu/git/?a=blobdiff_plain;f=src%2Fthread%2Fpthread_setcancelstate.c;h=5ab8c338f7969c8d79d24fe1a9c18a7481e62555;hb=d055e6a45a17673b8dd3ec16e786bb2fe1700dd5;hp=822a1398914168034c33652adf0512cf142562aa;hpb=102f6a01e249ce4495f1119ae6d963a2a4a53ce5;p=musl diff --git a/src/thread/pthread_setcancelstate.c b/src/thread/pthread_setcancelstate.c index 822a1398..5ab8c338 100644 --- a/src/thread/pthread_setcancelstate.c +++ b/src/thread/pthread_setcancelstate.c @@ -3,7 +3,6 @@ int __pthread_setcancelstate(int new, int *old) { if (new > 2U) return EINVAL; - if (!libc.has_thread_pointer) return ENOSYS; struct pthread *self = __pthread_self(); if (old) *old = self->canceldisable; self->canceldisable = new;