diff options
author | Xavier Leroy <xavier.leroy@inria.fr> | 1997-06-13 15:52:16 +0000 |
---|---|---|
committer | Xavier Leroy <xavier.leroy@inria.fr> | 1997-06-13 15:52:16 +0000 |
commit | f7ccaf7b6c4365b7b1b640949de3b3e54356782c (patch) | |
tree | a4368a06e470ff034af6e709a4b45ccbe7d66d9f /otherlibs/threads/scheduler.c | |
parent | 967558958ca72cb75f308593f4c839b40f2a824d (diff) |
Mauvais parenthesage.
git-svn-id: http://caml.inria.fr/svn/ocaml/trunk@1596 f963ae5c-01c2-4b8c-9fe0-0dff7051ff02
Diffstat (limited to 'otherlibs/threads/scheduler.c')
-rw-r--r-- | otherlibs/threads/scheduler.c | 4 |
1 files 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 |