Added LOG_UPTO() macro. Not part of POSIX, but widely used anyway.

git-svn-id: file:///srv/svn/repos/haiku/haiku/trunk@25587 a95241bf-73f2-0310-859d-f6bbb57e9c96
This commit is contained in:
Ingo Weinhold 2008-05-21 00:02:26 +00:00
parent 867bc16149
commit 9ac19900c4

View File

@ -60,6 +60,7 @@
/* turns a priority into a mask usable for setlogmask() */
#define LOG_MASK(pri) (1 << (pri))
#define LOG_UPTO(pri) ((1 << ((pri) + 1) - 1)
#ifdef __cplusplus