summaryrefslogtreecommitdiffstats
path: root/c/src/tests/psxtests/psxhdrs/mutex02.c
diff options
context:
space:
mode:
authorJoel Sherrill <joel.sherrill@OARcorp.com>1996-05-23 18:08:15 +0000
committerJoel Sherrill <joel.sherrill@OARcorp.com>1996-05-23 18:08:15 +0000
commit9854e336054fe015f292cf7d18b639123a2e9dd3 (patch)
treec2ee104c56c8ea04bfe1a07036ea38d7d397501e /c/src/tests/psxtests/psxhdrs/mutex02.c
parentupdates from Tony Bennett (diff)
downloadrtems-9854e336054fe015f292cf7d18b639123a2e9dd3.tar.bz2
updated to reflect more constants and feature macros
Diffstat (limited to 'c/src/tests/psxtests/psxhdrs/mutex02.c')
-rw-r--r--c/src/tests/psxtests/psxhdrs/mutex02.c4
1 files changed, 4 insertions, 0 deletions
diff --git a/c/src/tests/psxtests/psxhdrs/mutex02.c b/c/src/tests/psxtests/psxhdrs/mutex02.c
index 91a6adcc03..d011007a47 100644
--- a/c/src/tests/psxtests/psxhdrs/mutex02.c
+++ b/c/src/tests/psxtests/psxhdrs/mutex02.c
@@ -15,6 +15,10 @@
#include <pthread.h>
+#ifndef _POSIX_THREADS
+#error "rtems is supposed to have pthread_mutexattr_destroy"
+#endif
+
void test( void )
{
int result;