X-Git-Url: http://nsz.repo.hu/git/?a=blobdiff_plain;f=include%2Fthreads.h;h=017948261e9f8818340c7fc789c6a4d9aff93d3c;hb=f164875a84c35d0e0d132f99330d3fcda76ee7aa;hp=0e5836c114e976140b1e3bc22be3f94d80c5cae4;hpb=8f7bc690f07e90177b176b6e19736ad7c1d49840;p=musl diff --git a/include/threads.h b/include/threads.h index 0e5836c1..01794826 100644 --- a/include/threads.h +++ b/include/threads.h @@ -51,7 +51,9 @@ void thrd_yield(void); thrd_t thrd_current(void); int thrd_equal(thrd_t, thrd_t); +#ifndef __cplusplus #define thrd_equal(A, B) ((A) == (B)) +#endif void call_once(once_flag *, void (*)(void));