diff options
Diffstat (limited to 'testsuites/psxtests/psxhdrs/mutex09.c')
-rw-r--r-- | testsuites/psxtests/psxhdrs/mutex09.c | 7 |
1 files changed, 7 insertions, 0 deletions
diff --git a/testsuites/psxtests/psxhdrs/mutex09.c b/testsuites/psxtests/psxhdrs/mutex09.c index 32861dbef7..cf5d8403a7 100644 --- a/testsuites/psxtests/psxhdrs/mutex09.c +++ b/testsuites/psxtests/psxhdrs/mutex09.c @@ -15,6 +15,13 @@ #include <pthread.h> +#ifndef _POSIX_THREAD_PRIO_INHERIT +#error "rtems is supposed to have pthread_mutexattr_setprioceiling" +#endif +#ifndef _POSIX_THREAD_PRIO_PROTECT +#error "rtems is supposed to have pthread_mutexattr_setprioceiling" +#endif + void test( void ) { pthread_mutexattr_t attribute; |