summaryrefslogtreecommitdiffstats
path: root/testsuites/psxtests/psxhdrs/mutex08.c
diff options
context:
space:
mode:
Diffstat (limited to 'testsuites/psxtests/psxhdrs/mutex08.c')
-rw-r--r--testsuites/psxtests/psxhdrs/mutex08.c7
1 files changed, 7 insertions, 0 deletions
diff --git a/testsuites/psxtests/psxhdrs/mutex08.c b/testsuites/psxtests/psxhdrs/mutex08.c
index b831085c30..ecea0c0fc0 100644
--- a/testsuites/psxtests/psxhdrs/mutex08.c
+++ b/testsuites/psxtests/psxhdrs/mutex08.c
@@ -15,6 +15,13 @@
#include <pthread.h>
+#ifndef _POSIX_THREAD_PRIO_INHERIT
+#error "rtems is supposed to have pthread_mutexattr_getprioceiling"
+#endif
+#ifndef _POSIX_THREAD_PRIO_PROTECT
+#error "rtems is supposed to have pthread_mutexattr_getprioceiling"
+#endif
+
void test( void )
{
pthread_mutexattr_t attribute;