From f7ccaf7b6c4365b7b1b640949de3b3e54356782c Mon Sep 17 00:00:00 2001 From: Xavier Leroy Date: Fri, 13 Jun 1997 15:52:16 +0000 Subject: [PATCH] Mauvais parenthesage. git-svn-id: http://caml.inria.fr/svn/ocaml/trunk@1596 f963ae5c-01c2-4b8c-9fe0-0dff7051ff02 --- otherlibs/threads/scheduler.c | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/otherlibs/threads/scheduler.c b/otherlibs/threads/scheduler.c index 0274d47f4..74e2bfac1 100644 --- a/otherlibs/threads/scheduler.c +++ b/otherlibs/threads/scheduler.c @@ -613,9 +613,9 @@ static value inter_fdlist_set(fdl, set) #if !(defined(WIFEXITED) && defined(WEXITSTATUS) && defined(WIFSTOPPED) && \ defined(WSTOPSIG) && defined(WTERMSIG)) /* Assume old-style V7 status word */ -#define WIFEXITED(status) ((status) & 0xFF == 0) +#define WIFEXITED(status) (((status) & 0xFF) == 0) #define WEXITSTATUS(status) (((status) >> 8) & 0xFF) -#define WIFSTOPPED(status) ((status) & 0xFF == 0xFF) +#define WIFSTOPPED(status) (((status) & 0xFF) == 0xFF) #define WSTOPSIG(status) (((status) >> 8) & 0xFF) #define WTERMSIG(status) ((status) & 0x3F) #endif