summaryrefslogtreecommitdiff
path: root/src/log.h
diff options
context:
space:
mode:
authorlishu <[email protected]>2019-04-02 09:32:33 +0800
committerlishu <[email protected]>2019-04-02 09:32:33 +0800
commitfb46b33447c87c0dc4943436cf26657ca6b12c25 (patch)
tree86796890c92198da46725b55ce1a63475f5a5c57 /src/log.h
parente2c4b4e6a104162d3234c5e6a59756da254918dc (diff)
KEEPLIVE
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