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