comparison src/syswait.h @ 6015:1a2b17eab8d9

[BSD]: #undef WCOREDUMP before defining it.
author Roland McGrath <roland@gnu.org>
date Sun, 20 Feb 1994 19:34:12 +0000
parents 2da352ce967d
children 9278298301fb
comparison
equal deleted inserted replaced
6014:0d370ebc038a 6015:1a2b17eab8d9
1 /* Define wait system call interface for Emacs. 1 /* Define wait system call interface for Emacs.
2 Copyright (C) 1993 Free Software Foundation, Inc. 2 Copyright (C) 1993, 1994 Free Software Foundation, Inc.
3 3
4 This file is part of GNU Emacs. 4 This file is part of GNU Emacs.
5 5
6 GNU Emacs is free software; you can redistribute it and/or modify 6 GNU Emacs is free software; you can redistribute it and/or modify
7 it under the terms of the GNU General Public License as published by 7 it under the terms of the GNU General Public License as published by
41 #include <sys/wait.h> 41 #include <sys/wait.h>
42 #endif /* not BSD 4.1 */ 42 #endif /* not BSD 4.1 */
43 43
44 #define WAITTYPE union wait 44 #define WAITTYPE union wait
45 #define WRETCODE(w) w.w_retcode 45 #define WRETCODE(w) w.w_retcode
46 #undef WCOREDUMP /* Later BSDs define this name differently. */
46 #define WCOREDUMP(w) w.w_coredump 47 #define WCOREDUMP(w) w.w_coredump
47 48
48 #if defined (HPUX) || defined (convex) 49 #if defined (HPUX) || defined (convex)
49 /* HPUX version 7 has broken definitions of these. */ 50 /* HPUX version 7 has broken definitions of these. */
50 /* pvogel@convex.com says the convex does too. */ 51 /* pvogel@convex.com says the convex does too. */