summaryrefslogtreecommitdiffstats
path: root/testsuites/psxtests/psxhdrs/cond07.c
diff options
context:
space:
mode:
Diffstat (limited to 'testsuites/psxtests/psxhdrs/cond07.c')
-rw-r--r--testsuites/psxtests/psxhdrs/cond07.c4
1 files changed, 4 insertions, 0 deletions
diff --git a/testsuites/psxtests/psxhdrs/cond07.c b/testsuites/psxtests/psxhdrs/cond07.c
index 829c2065e0..358645882a 100644
--- a/testsuites/psxtests/psxhdrs/cond07.c
+++ b/testsuites/psxtests/psxhdrs/cond07.c
@@ -15,6 +15,10 @@
#include <pthread.h>
+#ifndef _POSIX_THREADS
+#error "rtems is supposed to have pthread_cond_timedwait"
+#endif
+
void test( void )
{
pthread_cond_t cond = PTHREAD_COND_INITIALIZER;