[libxml2] Fix weak pthread symbols after commit 4adb7677
- From: Nick Wellnhofer <nwellnhof src gnome org>
- To: commits-list gnome org
- Cc:
- Subject: [libxml2] Fix weak pthread symbols after commit 4adb7677
- Date: Sun, 6 Mar 2022 19:10:50 +0000 (UTC)
commit 5ffe2981b7d0547dd957a61ac6e1e3db829748d1
Author: Nick Wellnhofer <wellnhofer aevum de>
Date: Sun Mar 6 19:26:24 2022 +0100
Fix weak pthread symbols after commit 4adb7677
Add missing mutexattr symbols.
threads.c | 13 +++++++------
1 file changed, 7 insertions(+), 6 deletions(-)
---
diff --git a/threads.c b/threads.c
index 524bcb8d..c024ae60 100644
--- a/threads.c
+++ b/threads.c
@@ -46,19 +46,20 @@ static int libxml_is_threaded = -1;
#define XML_PTHREAD_WEAK
-#pragma weak pthread_once
+#pragma weak pthread_equal
#pragma weak pthread_getspecific
-#pragma weak pthread_setspecific
#pragma weak pthread_key_create
#pragma weak pthread_key_delete
-#pragma weak pthread_mutex_init
#pragma weak pthread_mutex_destroy
+#pragma weak pthread_mutex_init
#pragma weak pthread_mutex_lock
#pragma weak pthread_mutex_unlock
-#pragma weak pthread_equal
+#pragma weak pthread_mutexattr_destroy
+#pragma weak pthread_mutexattr_init
+#pragma weak pthread_mutexattr_settype
+#pragma weak pthread_once
#pragma weak pthread_self
-#pragma weak pthread_key_create
-#pragma weak pthread_key_delete
+#pragma weak pthread_setspecific
#else /* __GNUC__, __GLIBC__, __linux__ */
[
Date Prev][
Date Next] [
Thread Prev][
Thread Next]
[
Thread Index]
[
Date Index]
[
Author Index]