X-Git-Url: http://nsz.repo.hu/git/?a=blobdiff_plain;f=src%2Finternal%2Fpthread_impl.h;h=2089c857b41ccbb52712d4bcbd796bdee4c5b210;hb=fa845669ce03c26c069fc34e7377b47fac23edd8;hp=219bf006d51beb491a8c0d77ec8bada802f2bdbf;hpb=11c531e21de9c417166da934898ea7225a758fdf;p=musl diff --git a/src/internal/pthread_impl.h b/src/internal/pthread_impl.h index 219bf006..2089c857 100644 --- a/src/internal/pthread_impl.h +++ b/src/internal/pthread_impl.h @@ -46,6 +46,7 @@ struct pthread { int unblock_cancel; int delete_timer; locale_t locale; + int killlock; }; struct __timer { @@ -82,7 +83,7 @@ struct __timer { #define SIGSYSCALL 34 #define SIGPT_SET ((sigset_t *)(unsigned long [1+(sizeof(long)==4)]){ \ - [sizeof(long)==4] = 3<<(32*(sizeof(long)>4)) }) + [sizeof(long)==4] = 3UL<<(32*(sizeof(long)>4)) }) #define SIGTIMER_SET ((sigset_t *)(unsigned long [1+(sizeof(long)==4)]){ \ 0x80000000 })