summaryrefslogtreecommitdiffstats
path: root/c/src/tests/psxtests/psxhdrs/cond01.c
diff options
context:
space:
mode:
Diffstat (limited to 'c/src/tests/psxtests/psxhdrs/cond01.c')
-rw-r--r--c/src/tests/psxtests/psxhdrs/cond01.c4
1 files changed, 4 insertions, 0 deletions
diff --git a/c/src/tests/psxtests/psxhdrs/cond01.c b/c/src/tests/psxtests/psxhdrs/cond01.c
index c6e83db5f2..a63cdae1a6 100644
--- a/c/src/tests/psxtests/psxhdrs/cond01.c
+++ b/c/src/tests/psxtests/psxhdrs/cond01.c
@@ -14,6 +14,10 @@
*/
#include <pthread.h>
+
+#ifndef _POSIX_THREADS
+#error "rtems is supposed to have pthread_condattr_init"
+#endif
void test( void )
{