diff options
Diffstat (limited to 'tests/test-sys_wait.c')
-rw-r--r-- | tests/test-sys_wait.c | 8 |
1 files changed, 4 insertions, 4 deletions
diff --git a/tests/test-sys_wait.c b/tests/test-sys_wait.c index dce89c6..7753da3 100644 --- a/tests/test-sys_wait.c +++ b/tests/test-sys_wait.c @@ -1,5 +1,5 @@ /* Test of <sys/wait.h> substitute. - Copyright (C) 2009-2011 Free Software Foundation, Inc. + Copyright (C) 2009-2013 Free Software Foundation, Inc. This program is free software: you can redistribute it and/or modify it under the terms of the GNU General Public License as published by @@ -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; } |