diff options
author | Rainer Orth <ro@TechFak.Uni-Bielefeld.DE> | 2001-06-28 12:57:55 +0000 |
---|---|---|
committer | Rainer Orth <ro@gcc.gnu.org> | 2001-06-28 12:57:55 +0000 |
commit | f4b20cd963e5b00e3b74002af167118b056740e4 (patch) | |
tree | 4a77f7888aafdc6d9005fde79a791c965f24746f /gcc/gthr-posix.h | |
parent | 46f018e13847446f543aa9b396de15c9e322f8b3 (diff) | |
download | gcc-f4b20cd963e5b00e3b74002af167118b056740e4.tar.gz |
gthr-posix.h [LIBOBJC]: Add weak definitions of sched_get_priority_max, sched_get_priority_min.
* 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.
From-SVN: r43640
Diffstat (limited to 'gcc/gthr-posix.h')
-rw-r--r-- | gcc/gthr-posix.h | 2 |
1 files changed, 2 insertions, 0 deletions
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 |