diff options
| author | Paul Eggert | 2014-05-03 13:13:10 -0700 |
|---|---|---|
| committer | Paul Eggert | 2014-05-03 13:13:10 -0700 |
| commit | d355cad6b78c35050ba94016bb7ee12acbd257ee (patch) | |
| tree | aad901f9b23d2a4fd400529a84b0b891e9af0cb1 /src/syswait.h | |
| parent | 8494d3796ca3fc153f65f13869d823beaddf07a2 (diff) | |
| download | emacs-d355cad6b78c35050ba94016bb7ee12acbd257ee.tar.gz emacs-d355cad6b78c35050ba94016bb7ee12acbd257ee.zip | |
Handle systems without WCONTINUED consistently.
* lib-src/emacsclient.c (WCONTINUED): Move to ../src/syswait.h.
* src/process.c (handle_child_signal): Remove WCONTINUED ifdef,
because WCONTINUED is always defined now.
* src/syswait.h (WCONTINUED): Move here from ../lib-src/emacsclient.c.
Fixes: debbugs:15110 debbugs:17339
Diffstat (limited to 'src/syswait.h')
| -rw-r--r-- | src/syswait.h | 4 |
1 files changed, 4 insertions, 0 deletions
diff --git a/src/syswait.h b/src/syswait.h index db197b82fb7..9c8cbd51f00 100644 --- a/src/syswait.h +++ b/src/syswait.h | |||
| @@ -29,6 +29,10 @@ along with GNU Emacs. If not, see <http://www.gnu.org/licenses/>. */ | |||
| 29 | #include <sys/wait.h> | 29 | #include <sys/wait.h> |
| 30 | #endif /* !HAVE_SYS_WAIT_H */ | 30 | #endif /* !HAVE_SYS_WAIT_H */ |
| 31 | 31 | ||
| 32 | #ifndef WCONTINUED | ||
| 33 | #define WCONTINUED 8 | ||
| 34 | #endif | ||
| 35 | |||
| 32 | #ifndef WCOREDUMP /* not POSIX */ | 36 | #ifndef WCOREDUMP /* not POSIX */ |
| 33 | #define WCOREDUMP(status) ((status) & 0x80) | 37 | #define WCOREDUMP(status) ((status) & 0x80) |
| 34 | #endif | 38 | #endif |