diff options
Diffstat (limited to 'c/src/tests/psxtests/psxhdrs/cond03.c')
-rw-r--r-- | c/src/tests/psxtests/psxhdrs/cond03.c | 4 |
1 files changed, 4 insertions, 0 deletions
diff --git a/c/src/tests/psxtests/psxhdrs/cond03.c b/c/src/tests/psxtests/psxhdrs/cond03.c index ea0f635f1a..01f393f160 100644 --- a/c/src/tests/psxtests/psxhdrs/cond03.c +++ b/c/src/tests/psxtests/psxhdrs/cond03.c @@ -15,6 +15,10 @@ #include <pthread.h> +#ifndef _POSIX_THREADS +#error "rtems is supposed to have pthread_cond_init" +#endif + void test( void ) { pthread_cond_t cond = PTHREAD_COND_INITIALIZER; |