summaryrefslogtreecommitdiffstats
path: root/testsuites/psxtests/psxhdrs/key01.c
diff options
context:
space:
mode:
Diffstat (limited to 'testsuites/psxtests/psxhdrs/key01.c')
-rw-r--r--testsuites/psxtests/psxhdrs/key01.c4
1 files changed, 4 insertions, 0 deletions
diff --git a/testsuites/psxtests/psxhdrs/key01.c b/testsuites/psxtests/psxhdrs/key01.c
index a91f756fe6..e5b7f226c1 100644
--- a/testsuites/psxtests/psxhdrs/key01.c
+++ b/testsuites/psxtests/psxhdrs/key01.c
@@ -15,6 +15,10 @@
#include <pthread.h>
+#ifndef _POSIX_THREADS
+#error "rtems is supposed to have pthread_key_create"
+#endif
+
void key_destructor(
void *argument
)