summaryrefslogtreecommitdiff
path: root/packages/ixp4xx/ixp4xx-csr-2.1/bit-macro.patch
blob: f6d796a625304330a9583e10ca56927a8ea113a6 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
--- ixp_osal/src/include/IxTypes.h	1970-01-01 00:00:00.000000000 +0000
+++ ixp_osal/src/include/IxTypes.h	1970-01-01 00:00:00.000000000 +0000
@@ -79,6 +79,10 @@
 #endif
 #endif
 
+#ifndef BIT
+#define BIT(x)  ((1)<<(x))
+#endif
+
 #include "IxOsalBackward.h"
 
 #endif /* IxTypes_H */