diff options
Diffstat (limited to 'tests/test-sys_wait.c')
-rw-r--r-- | tests/test-sys_wait.c | 6 |
1 files changed, 3 insertions, 3 deletions
diff --git a/tests/test-sys_wait.c b/tests/test-sys_wait.c index 4dd2130500..7753da3983 100644 --- a/tests/test-sys_wait.c +++ b/tests/test-sys_wait.c @@ -31,17 +31,17 @@ main (void) if (test_sys_wait_macros ()) return 1; - switch (0) - { #if 0 + switch (WCONTINUED) + { /* Gnulib doesn't guarantee these, yet. */ case WCONTINUED: case WEXITED: case WNOWAIT: case WSTOPPED: -#endif break; } +#endif return a ? 1 : 0; } |