From a8d68c3f9c4e2a1d07b9d27cebe0a7bf9edaacb0 Mon Sep 17 00:00:00 2001 From: Jakob Kaivo Date: Sat, 23 Feb 2019 14:32:20 -0500 Subject: implement proper function-like macro --- src/sys/wait/WIFSIGNALED.c | 3 +-- 1 file changed, 1 insertion(+), 2 deletions(-) (limited to 'src/sys/wait/WIFSIGNALED.c') diff --git a/src/sys/wait/WIFSIGNALED.c b/src/sys/wait/WIFSIGNALED.c index cc99a98a..4c3305b9 100644 --- a/src/sys/wait/WIFSIGNALED.c +++ b/src/sys/wait/WIFSIGNALED.c @@ -1,6 +1,5 @@ #include - -#define WIFSIGNALED 3 +#define WIFSIGNALED(__stat_val) (__stat_val & 0x100) /* POSIX(1) */ -- cgit v1.2.1