mirror of
https://github.com/sudo-project/sudo.git
synced 2025-08-22 09:57:41 +00:00
Older systems may not support WCONTINUED.
This commit is contained in:
parent
58d50f44cd
commit
291221c698
@ -317,6 +317,12 @@ extern int errno;
|
||||
# define WCOREDUMP(x) ((x) & 0x80)
|
||||
#endif
|
||||
|
||||
/* Older systems may not support WCONTINUED */
|
||||
#ifndef WCONTINUED
|
||||
# define WCONTINUED 0
|
||||
# define WIFCONTINUED(x) 0
|
||||
#endif
|
||||
|
||||
/* W_EXITCODE is not POSIX but the encoding of wait status is. */
|
||||
#ifndef W_EXITCODE
|
||||
# define W_EXITCODE(ret, sig) ((ret) << 8 | (sig))
|
||||
|
Loading…
x
Reference in New Issue
Block a user