summaryrefslogtreecommitdiffstats
path: root/testsuites/psxtests/psxhdrs/mutex05.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 /testsuites/psxtests/psxhdrs/mutex05.c
parentupdates from Tony Bennett (diff)
downloadrtems-9854e336054fe015f292cf7d18b639123a2e9dd3.tar.bz2
updated to reflect more constants and feature macros
Diffstat (limited to 'testsuites/psxtests/psxhdrs/mutex05.c')
-rw-r--r--testsuites/psxtests/psxhdrs/mutex05.c4
1 files changed, 4 insertions, 0 deletions
diff --git a/testsuites/psxtests/psxhdrs/mutex05.c b/testsuites/psxtests/psxhdrs/mutex05.c
index afb1111a19..9a02accc97 100644
--- a/testsuites/psxtests/psxhdrs/mutex05.c
+++ b/testsuites/psxtests/psxhdrs/mutex05.c
@@ -15,6 +15,10 @@
#include <pthread.h>
+#ifndef _POSIX_THREADS
+#error "rtems is supposed to have pthread_mutex_lock"
+#endif
+
void test( void )
{
pthread_mutex_t mutex = PTHREAD_MUTEX_INITIALIZER;