summaryrefslogtreecommitdiffstats
path: root/c/src/tests/psxtests/psxhdrs/pthread10.c
diff options
context:
space:
mode:
Diffstat (limited to 'c/src/tests/psxtests/psxhdrs/pthread10.c')
-rw-r--r--c/src/tests/psxtests/psxhdrs/pthread10.c4
1 files changed, 4 insertions, 0 deletions
diff --git a/c/src/tests/psxtests/psxhdrs/pthread10.c b/c/src/tests/psxtests/psxhdrs/pthread10.c
index 97d86ae278..32396cff8e 100644
--- a/c/src/tests/psxtests/psxhdrs/pthread10.c
+++ b/c/src/tests/psxtests/psxhdrs/pthread10.c
@@ -15,6 +15,10 @@
#include <pthread.h>
+#ifndef _POSIX_THREADS
+#error "rtems is supposed to have pthread_equal"
+#endif
+
void test( void )
{
pthread_t id_1 = 0;