diff options
author | Amadeusz Sławiński <amade@asmblr.net> | 2012-01-17 22:12:29 +0100 |
---|---|---|
committer | Amadeusz Sławiński <amade@asmblr.net> | 2015-06-25 15:54:18 +0200 |
commit | e888ee0799ed2a93b1e78fad4f768ffd9bf4c161 (patch) | |
tree | 557a55e932a39453110531ea93eaba70e488b3c1 /src/os.h | |
parent | efe236aaa420ffa7dd8eaf3f2d6ba3db03342812 (diff) | |
download | screen-e888ee0799ed2a93b1e78fad4f768ffd9bf4c161.tar.gz |
remove #BSDWAIT
Diffstat (limited to 'src/os.h')
-rw-r--r-- | src/os.h | 24 |
1 files changed, 4 insertions, 20 deletions
@@ -266,19 +266,11 @@ # include <sys/wait.h> #ifndef WTERMSIG -# ifndef BSDWAIT /* if wait is NOT a union: */ -# define WTERMSIG(status) (status & 0177) -# else -# define WTERMSIG(status) status.w_T.w_Termsig -# endif +# define WTERMSIG(status) (status & 0177) #endif #ifndef WSTOPSIG -# ifndef BSDWAIT /* if wait is NOT a union: */ -# define WSTOPSIG(status) ((status >> 8) & 0377) -# else -# define WSTOPSIG(status) status.w_S.w_Stopsig -# endif +# define WSTOPSIG(status) ((status >> 8) & 0377) #endif /* NET-2 uses WCOREDUMP */ @@ -287,19 +279,11 @@ #endif #ifndef WIFCORESIG -# ifndef BSDWAIT /* if wait is NOT a union: */ -# define WIFCORESIG(status) (status & 0200) -# else -# define WIFCORESIG(status) status.w_T.w_Coredump -# endif +# define WIFCORESIG(status) (status & 0200) #endif #ifndef WEXITSTATUS -# ifndef BSDWAIT /* if wait is NOT a union: */ -# define WEXITSTATUS(status) ((status >> 8) & 0377) -# else -# define WEXITSTATUS(status) status.w_T.w_Retcode -# endif +# define WEXITSTATUS(status) ((status >> 8) & 0377) #endif /***************************************************************** |