X-Git-Url: http://nsz.repo.hu/git/?a=blobdiff_plain;f=include%2Fpthread.h;h=2697e8bc10870e06a2b7b18d26d438663abe21fa;hb=3b26a32df42092af6d0cdac655e52635b91d36b2;hp=f7c9568c80bb3ef1f854137d548427d90d20b380;hpb=7406fdf5a18b37330de108abb0106f44ebdae2c6;p=musl diff --git a/include/pthread.h b/include/pthread.h index f7c9568c..2697e8bc 100644 --- a/include/pthread.h +++ b/include/pthread.h @@ -84,7 +84,9 @@ __attribute__((const)) pthread_t pthread_self(void); int pthread_equal(pthread_t, pthread_t); +#ifndef __cplusplus #define pthread_equal(x,y) ((x)==(y)) +#endif int pthread_setcancelstate(int, int *); int pthread_setcanceltype(int, int *);