summaryrefslogtreecommitdiff
path: root/gcc/gthr-posix.h
diff options
context:
space:
mode:
Diffstat (limited to 'gcc/gthr-posix.h')
-rw-r--r--gcc/gthr-posix.h5
1 files changed, 5 insertions, 0 deletions
diff --git a/gcc/gthr-posix.h b/gcc/gthr-posix.h
index 7b92316055a..1e70f723704 100644
--- a/gcc/gthr-posix.h
+++ b/gcc/gthr-posix.h
@@ -68,6 +68,11 @@ typedef pthread_mutex_t __gthread_mutex_t;
#pragma weak pthread_mutex_destroy
#pragma weak pthread_self
#pragma weak sched_yield
+#pragma weak pthread_attr_destroy
+#pragma weak pthread_attr_init
+#pragma weak pthread_attr_setdetachstate
+#pragma weak pthread_getschedparam
+#pragma weak pthread_setschedparam
#endif
static void *__gthread_active_ptr = &pthread_create;