summaryrefslogtreecommitdiffstats
path: root/libc-top-half/musl/include
diff options
context:
space:
mode:
authorDaniel Baumann <daniel.baumann@progress-linux.org>2024-05-30 03:11:56 +0000
committerDaniel Baumann <daniel.baumann@progress-linux.org>2024-05-30 03:11:56 +0000
commite9699e2b995d3ded2efd5580ae6dadf555181d62 (patch)
treedd029bd1e3b8b9ffb627115e7ecc577f250fa742 /libc-top-half/musl/include
parentAdding upstream version 0.0~git20230113.4362b18. (diff)
downloadwasi-libc-e9699e2b995d3ded2efd5580ae6dadf555181d62.tar.xz
wasi-libc-e9699e2b995d3ded2efd5580ae6dadf555181d62.zip
Adding upstream version 0.0~git20230621.7018e24.upstream/0.0_git20230621.7018e24
Signed-off-by: Daniel Baumann <daniel.baumann@progress-linux.org>
Diffstat (limited to 'libc-top-half/musl/include')
-rw-r--r--libc-top-half/musl/include/pthread.h6
1 files changed, 0 insertions, 6 deletions
diff --git a/libc-top-half/musl/include/pthread.h b/libc-top-half/musl/include/pthread.h
index b14fe82..05101e8 100644
--- a/libc-top-half/musl/include/pthread.h
+++ b/libc-top-half/musl/include/pthread.h
@@ -55,15 +55,9 @@ extern "C" {
#define PTHREAD_PROCESS_SHARED 1
-#if defined(__wasilibc_unmodified_upstream) || defined(_REENTRANT)
#define PTHREAD_MUTEX_INITIALIZER {{{0}}}
#define PTHREAD_RWLOCK_INITIALIZER {{{0}}}
#define PTHREAD_COND_INITIALIZER {{{0}}}
-#else
-#define PTHREAD_MUTEX_INITIALIZER 0
-#define PTHREAD_RWLOCK_INITIALIZER 0
-#define PTHREAD_COND_INITIALIZER 0
-#endif
#define PTHREAD_ONCE_INIT 0