diff options
author | Joel Sherrill <joel.sherrill@OARcorp.com> | 1996-05-23 18:08:15 +0000 |
---|---|---|
committer | Joel Sherrill <joel.sherrill@OARcorp.com> | 1996-05-23 18:08:15 +0000 |
commit | 9854e336054fe015f292cf7d18b639123a2e9dd3 (patch) | |
tree | c2ee104c56c8ea04bfe1a07036ea38d7d397501e /testsuites/psxtests/psxhdrs/mutex07.c | |
parent | updates from Tony Bennett (diff) | |
download | rtems-9854e336054fe015f292cf7d18b639123a2e9dd3.tar.bz2 |
updated to reflect more constants and feature macros
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; |