From 29962e14a1144ec4f9cfac8ab8a51af2b5692317 Mon Sep 17 00:00:00 2001 From: Bernhard Reutner-Fischer Date: Sun, 29 Jan 2012 15:21:38 +0100 Subject: 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 --- libpthread/nptl/sysdeps/pthread/pthread.h | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'libpthread/nptl') 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; -- cgit v1.2.3