projects
/
musl
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
| inline |
side by side
don't shadow functions with macros in C++
[musl]
/
include
/
pthread.h
diff --git
a/include/pthread.h
b/include/pthread.h
index
f7c9568
..
2697e8b
100644
(file)
--- 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 *);