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 /c/src/tests/psxtests/psxhdrs/mutex04.c | |
parent | updates from Tony Bennett (diff) | |
download | rtems-9854e336054fe015f292cf7d18b639123a2e9dd3.tar.bz2 |
updated to reflect more constants and feature macros
Diffstat (limited to 'c/src/tests/psxtests/psxhdrs/mutex04.c')
-rw-r--r-- | c/src/tests/psxtests/psxhdrs/mutex04.c | 6 |
1 files changed, 5 insertions, 1 deletions
diff --git a/c/src/tests/psxtests/psxhdrs/mutex04.c b/c/src/tests/psxtests/psxhdrs/mutex04.c index 2a7c17e4d4..b0ef6c53a6 100644 --- a/c/src/tests/psxtests/psxhdrs/mutex04.c +++ b/c/src/tests/psxtests/psxhdrs/mutex04.c @@ -15,9 +15,13 @@ #include <pthread.h> +#ifndef _POSIX_THREADS +#error "rtems is supposed to have pthread_mutex_destroy" +#endif + void test( void ) { - pthread_mutex_t mutex = PTHREAD_MUTEX_INITIALIZER; + pthread_mutex_t mutex = PTHREAD_MUTEX_INITIALIZER; int result; result = pthread_mutex_destroy( &mutex ); |