diff options
Diffstat (limited to 'c/src/tests/psxtests/psxhdrs/pthread06.c')
-rw-r--r-- | c/src/tests/psxtests/psxhdrs/pthread06.c | 8 |
1 files changed, 8 insertions, 0 deletions
diff --git a/c/src/tests/psxtests/psxhdrs/pthread06.c b/c/src/tests/psxtests/psxhdrs/pthread06.c index 3ea6292837..bbcc6a0de3 100644 --- a/c/src/tests/psxtests/psxhdrs/pthread06.c +++ b/c/src/tests/psxtests/psxhdrs/pthread06.c @@ -15,6 +15,14 @@ #include <pthread.h> +#ifndef _POSIX_THREADS +#error "rtems is supposed to have pthread_getstacksize" +#endif + +#ifndef _POSIX_THREAD_ATTR_STACKSIZE +#error "rtems is supposed to have pthread_getstacksize" +#endif + void test( void ) { int result; |