diff options
Diffstat (limited to 'testsuites/psxtests/psxmsgq01')
-rw-r--r-- | testsuites/psxtests/psxmsgq01/init.c | 3 | ||||
-rw-r--r-- | testsuites/psxtests/psxmsgq01/system.h | 2 |
2 files changed, 4 insertions, 1 deletions
diff --git a/testsuites/psxtests/psxmsgq01/init.c b/testsuites/psxtests/psxmsgq01/init.c index 3f34d39cef..50a370d75a 100644 --- a/testsuites/psxtests/psxmsgq01/init.c +++ b/testsuites/psxtests/psxmsgq01/init.c @@ -940,6 +940,7 @@ void wait_for_signal( void verify_notify(void) { +#if defined(RTEMS_POSIX_API) struct sigevent event; int status; timer_t timer_id; @@ -1019,7 +1020,7 @@ void verify_notify(void) Show_send_msg_to_que( "Init:", RW_QUEUE, 0 ); wait_for_signal( &set, 3, 0 ); Read_msg_from_que( RW_QUEUE, 0 ); - +#endif } void verify_with_threads(void) diff --git a/testsuites/psxtests/psxmsgq01/system.h b/testsuites/psxtests/psxmsgq01/system.h index 367b756b4b..27d158a3da 100644 --- a/testsuites/psxtests/psxmsgq01/system.h +++ b/testsuites/psxtests/psxmsgq01/system.h @@ -38,8 +38,10 @@ void *Task_5(void *argument); #define CONFIGURE_MAXIMUM_POSIX_THREADS 5 #define CONFIGURE_MAXIMUM_POSIX_MESSAGE_QUEUES 10 +#if defined(RTEMS_POSIX_API) #define CONFIGURE_MAXIMUM_POSIX_TIMERS 4 #define CONFIGURE_MAXIMUM_TIMERS 4 +#endif #define CONFIGURE_POSIX_INIT_THREAD_TABLE #define CONFIGURE_POSIX_INIT_THREAD_STACK_SIZE \ |