summaryrefslogtreecommitdiffstats
path: root/c/src/tests/psxtests/psxhdrs/mutex08.c
diff options
context:
space:
mode:
Diffstat (limited to 'c/src/tests/psxtests/psxhdrs/mutex08.c')
-rw-r--r--c/src/tests/psxtests/psxhdrs/mutex08.c7
1 files changed, 7 insertions, 0 deletions
diff --git a/c/src/tests/psxtests/psxhdrs/mutex08.c b/c/src/tests/psxtests/psxhdrs/mutex08.c
index b831085c30..ecea0c0fc0 100644
--- a/c/src/tests/psxtests/psxhdrs/mutex08.c
+++ b/c/src/tests/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;