Skip to content

Commit c1ce7c8

Browse files
alfredfomichaelrj-google
authored andcommitted
[libc] pthread.h.def: add PTHREAD_MUTEX_INITIALIZER
Adds PTHREAD_MUTEX_INITIALIZER for compiler-rt's builtins/emutls.c Reviewed By: michaelrj Differential Revision: https://reviews.llvm.org/D156276
1 parent 49eb1ae commit c1ce7c8

File tree

1 file changed

+1
-0
lines changed

1 file changed

+1
-0
lines changed

libc/include/pthread.h.def

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -13,6 +13,7 @@
1313

1414
#define PTHREAD_STACK_MIN (1 << 14) // 16KB
1515

16+
#define PTHREAD_MUTEX_INITIALIZER {0}
1617
#define PTHREAD_ONCE_INIT {0}
1718

1819
enum {

0 commit comments

Comments
 (0)