summaryrefslogtreecommitdiff
path: root/src/common.h
diff options
context:
space:
mode:
Diffstat (limited to 'src/common.h')
-rw-r--r--src/common.h4
1 files changed, 4 insertions, 0 deletions
diff --git a/src/common.h b/src/common.h
index c57ae1a..0ddfaaf 100644
--- a/src/common.h
+++ b/src/common.h
@@ -30,6 +30,10 @@
30 30
31#define SYSCALL(call) while (((call) == -1) && (errno == EINTR)) 31#define SYSCALL(call) while (((call) == -1) && (errno == EINTR))
32 32
33#define GETBIT(m, x) ((m>>(x))&1U)
34#define SETBIT(m, x) (m|=(1U<<(x)))
35#define CLEARBIT(m, x) (m&=~(1U<<(x)))
36
33//////////////////////////////////////////////////////// 37////////////////////////////////////////////////////////
34 38
35#endif 39#endif