summaryrefslogtreecommitdiffstats
path: root/testsuites/psxtests/psxhdrs/pthread05.c
diff options
context:
space:
mode:
authorJoel Sherrill <joel.sherrill@OARcorp.com>1996-05-23 18:08:15 +0000
committerJoel Sherrill <joel.sherrill@OARcorp.com>1996-05-23 18:08:15 +0000
commit9854e336054fe015f292cf7d18b639123a2e9dd3 (patch)
treec2ee104c56c8ea04bfe1a07036ea38d7d397501e /testsuites/psxtests/psxhdrs/pthread05.c
parentupdates from Tony Bennett (diff)
downloadrtems-9854e336054fe015f292cf7d18b639123a2e9dd3.tar.bz2
updated to reflect more constants and feature macros
Diffstat (limited to 'testsuites/psxtests/psxhdrs/pthread05.c')
-rw-r--r--testsuites/psxtests/psxhdrs/pthread05.c8
1 files changed, 8 insertions, 0 deletions
diff --git a/testsuites/psxtests/psxhdrs/pthread05.c b/testsuites/psxtests/psxhdrs/pthread05.c
index f4fcd56bb2..1736b55c94 100644
--- a/testsuites/psxtests/psxhdrs/pthread05.c
+++ b/testsuites/psxtests/psxhdrs/pthread05.c
@@ -16,6 +16,14 @@
#include <pthread.h>
#include <limits.h> /* only for PTHREAD_STACK_MIN */
+#ifndef _POSIX_THREADS
+#error "rtems is supposed to have pthread_setstacksize"
+#endif
+
+#ifndef _POSIX_THREAD_ATTR_STACKSIZE
+#error "rtems is supposed to have pthread_setstacksize"
+#endif
+
void test( void )
{
int result;