summaryrefslogtreecommitdiff
path: root/libpthread/nptl
diff options
context:
space:
mode:
authorBernhard Reutner-Fischer <rep.dot.nop@gmail.com>2012-01-29 15:21:38 +0100
committerBernhard Reutner-Fischer <rep.dot.nop@gmail.com>2012-01-29 17:51:18 +0100
commit29962e14a1144ec4f9cfac8ab8a51af2b5692317 (patch)
treec8b262fbb4b6bb9ec7d2eadd877c62e8a3431a98 /libpthread/nptl
parent46aa707fc50415e90b0860258f4f5d78b7b96a7b (diff)
nptl_db: handle SUSv4-OB
pthread_getconcurrency / pthread_setconcurrency is OBSOLETE in SUSv4 so disable pthread debug support too Signed-off-by: Bernhard Reutner-Fischer <rep.dot.nop@gmail.com>
Diffstat (limited to 'libpthread/nptl')
-rw-r--r--libpthread/nptl/sysdeps/pthread/pthread.h2
1 files changed, 1 insertions, 1 deletions
diff --git a/libpthread/nptl/sysdeps/pthread/pthread.h b/libpthread/nptl/sysdeps/pthread/pthread.h
index deb74309a..98c84aeaf 100644
--- a/libpthread/nptl/sysdeps/pthread/pthread.h
+++ b/libpthread/nptl/sysdeps/pthread/pthread.h
@@ -430,7 +430,7 @@ extern int pthread_setschedprio (pthread_t __target_thread, int __prio)
__THROW;
-#ifdef __USE_UNIX98
+#if defined __USE_UNIX98 && defined __UCLIBC_SUSV4_LEGACY__
/* Determine level of concurrency. */
extern int pthread_getconcurrency (void) __THROW;