summaryrefslogtreecommitdiff
path: root/recipes/ixp4xx/ixp4xx-csr-2.1.1/bit-macro.patch
blob: 6efdba5c1e860ae5e4a08c57ced7afa5b99e316b (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
--- ixp400_xscale_sw/src/include/IxTypes.h	1970-01-01 00:00:00.000000000 +0000
+++ ixp400_xscale_sw/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 */