From: bernie Date: Mon, 18 Feb 2008 16:03:53 +0000 (+0000) Subject: Invert test (the mask contains BLOCKED signals) X-Git-Tag: 1.0.0~116 X-Git-Url: https://codewiz.org/gitweb?a=commitdiff_plain;ds=inline;h=755c2da31880953298481b3747c2472f13bc00a1;p=bertos.git Invert test (the mask contains BLOCKED signals) git-svn-id: https://src.develer.com/svnoss/bertos/trunk@1136 38d2e660-2303-0410-9eaa-f027e97ec537 --- diff --git a/cfg/os.h b/cfg/os.h index e1535dd4..924daade 100644 --- a/cfg/os.h +++ b/cfg/os.h @@ -111,7 +111,7 @@ ({ \ sigset_t sigs; \ sigprocmask(SIG_SETMASK, NULL, &sigs); \ - sigismember(&sigs, SIGALRM) ? true : false; \ + sigismember(&sigs, SIGALRM) ? false : true; \ }) #else