projects
/
oweals
/
musl.git
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
| inline |
side by side
add powerpc64 port
[oweals/musl.git]
/
include
/
threads.h
diff --git
a/include/threads.h
b/include/threads.h
index 0e5836c114e976140b1e3bc22be3f94d80c5cae4..017948261e9f8818340c7fc789c6a4d9aff93d3c 100644
(file)
--- 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));