summaryrefslogtreecommitdiff
blob: 40cc8d87d9b5cee8da4b0083be2b41c2a5dc1a5c (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
--- ixp400_xscale_sw/src/include/IxTypes.h
+++ ixp400_xscale_sw/src/include/IxTypes.h
@@ -79,6 +79,10 @@
 #endif
 #endif
 
+#ifndef BIT
+#define BIT(x)  ((1)<<(x))
+#endif
+
 #include "IxOsalBackward.h"
 
 #endif /* IxTypes_H */