summaryrefslogtreecommitdiffstats
path: root/c/src/tests/psxtests/psxhdrs/pthread09.c
diff options
context:
space:
mode:
Diffstat (limited to 'c/src/tests/psxtests/psxhdrs/pthread09.c')
-rw-r--r--c/src/tests/psxtests/psxhdrs/pthread09.c3
1 files changed, 3 insertions, 0 deletions
diff --git a/c/src/tests/psxtests/psxhdrs/pthread09.c b/c/src/tests/psxtests/psxhdrs/pthread09.c
index 2679cc7f7d..2674ea9087 100644
--- a/c/src/tests/psxtests/psxhdrs/pthread09.c
+++ b/c/src/tests/psxtests/psxhdrs/pthread09.c
@@ -15,6 +15,9 @@
#include <pthread.h>
+#ifndef _POSIX_THREADS
+#error "rtems is supposed to have pthread_self"
+#endif
void test( void )
{