global.h: added a macro to test bit is set.

Signed-off-by: bert <bert.timmerman@xs4all.nl>