summaryrefslogtreecommitdiff
path: root/src/log.h
diff options
context:
space:
mode:
Diffstat (limited to 'src/log.h')
-rw-r--r--src/log.h1
1 files changed, 1 insertions, 0 deletions
diff --git a/src/log.h b/src/log.h
index 7bf62e0..a436174 100644
--- a/src/log.h
+++ b/src/log.h
@@ -23,6 +23,7 @@ typedef long atomic_t;
#define setbit(x,y) x|=(1<<y)
#define clrbit(x,y) x&=~(1<<y)
+#define getbit(x,y) ((x) >> (y)&1)
/*********************************************debug log type***********************************/
typedef enum