diff options
author | Joel Sherrill <joel@rtems.org> | 2018-11-30 08:33:45 -0600 |
---|---|---|
committer | Joel Sherrill <joel@rtems.org> | 2018-11-30 08:33:52 -0600 |
commit | e54a266edef25dfa195934b61184276a82cd6ac6 (patch) | |
tree | a2fa50229b360f80fdf3d2eb8e7d805ce6e137f6 /testsuites/psxtests/psxmsgq01/init.c | |
parent | mcf52235-testsuite.tcfg: Add dl07 (diff) | |
download | rtems-e54a266edef25dfa195934b61184276a82cd6ac6.tar.bz2 |
psxmsgq01/init.c: Disable signal usage when POSIX disabled
closes #3626.
Diffstat (limited to 'testsuites/psxtests/psxmsgq01/init.c')
-rw-r--r-- | testsuites/psxtests/psxmsgq01/init.c | 2 |
1 files changed, 2 insertions, 0 deletions
diff --git a/testsuites/psxtests/psxmsgq01/init.c b/testsuites/psxtests/psxmsgq01/init.c index 50a370d75a..d22238dfb8 100644 --- a/testsuites/psxtests/psxmsgq01/init.c +++ b/testsuites/psxtests/psxmsgq01/init.c @@ -910,6 +910,7 @@ void wait_for_signal( int expect_signal ) { +#if defined(RTEMS_POSIX_API) siginfo_t siginfo; int status; struct timespec timeout; @@ -936,6 +937,7 @@ void wait_for_signal( fatal_int_service_status( signo, -1, "error return status"); fatal_posix_service_status( errno, EAGAIN, "errno EAGAIN"); } +#endif } void verify_notify(void) |