From 23ab4af6d8fc2f7a9791f36c3372c8abeb6a9869 Mon Sep 17 00:00:00 2001 From: ro Date: Thu, 28 Jun 2001 12:57:55 +0000 Subject: * gthr-posix.h [LIBOBJC]: Add weak definitions of sched_get_priority_max, sched_get_priority_min. testsuite: * lib/objc.exp (objc_target_compile): Don't need -lposix4 on any Solaris 2.[678] system. git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@43640 138bc75d-0d04-0410-961f-82ee72b054a4 --- gcc/gthr-posix.h | 2 ++ 1 file changed, 2 insertions(+) (limited to 'gcc/gthr-posix.h') diff --git a/gcc/gthr-posix.h b/gcc/gthr-posix.h index eae8f3e12ab..8981eb66732 100644 --- a/gcc/gthr-posix.h +++ b/gcc/gthr-posix.h @@ -67,6 +67,8 @@ typedef pthread_mutex_t __gthread_mutex_t; #pragma weak pthread_mutex_init #pragma weak pthread_mutex_destroy #pragma weak pthread_self +#pragma weak sched_get_priority_max +#pragma weak sched_get_priority_min #pragma weak sched_yield #pragma weak pthread_attr_destroy #pragma weak pthread_attr_init -- cgit v1.2.1