2
0
mirror of https://github.com/sudo-project/sudo.git synced 2025-08-22 18:08:23 +00:00

Older systems may not support WCONTINUED.

This commit is contained in:
Todd C. Miller 2019-12-25 11:17:35 -07:00
parent 58d50f44cd
commit 291221c698

View File

@ -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))