summaryrefslogtreecommitdiff
path: root/gcc/gthr-posix.h
diff options
context:
space:
mode:
authorro <ro@138bc75d-0d04-0410-961f-82ee72b054a4>2001-06-28 12:57:55 +0000
committerro <ro@138bc75d-0d04-0410-961f-82ee72b054a4>2001-06-28 12:57:55 +0000
commit23ab4af6d8fc2f7a9791f36c3372c8abeb6a9869 (patch)
tree4a77f7888aafdc6d9005fde79a791c965f24746f /gcc/gthr-posix.h
parentb506dc01ea131f8a9790cc7734fc45c718e9d688 (diff)
downloadgcc-23ab4af6d8fc2f7a9791f36c3372c8abeb6a9869.tar.gz
* 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
Diffstat (limited to 'gcc/gthr-posix.h')
-rw-r--r--gcc/gthr-posix.h2
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