diff options
Diffstat (limited to '')
| -rw-r--r-- | src/common/bit_util.h | 2 |
1 files changed, 2 insertions, 0 deletions
diff --git a/src/common/bit_util.h b/src/common/bit_util.h index 64520ca4e..683f09158 100644 --- a/src/common/bit_util.h +++ b/src/common/bit_util.h | |||
| @@ -44,4 +44,6 @@ template <typename T> | |||
| 44 | return static_cast<u32>(log2_f + static_cast<u64>((value ^ (1ULL << log2_f)) != 0ULL)); | 44 | return static_cast<u32>(log2_f + static_cast<u64>((value ^ (1ULL << log2_f)) != 0ULL)); |
| 45 | } | 45 | } |
| 46 | 46 | ||
| 47 | #define BIT(n) (1U << (n)) | ||
| 48 | |||
| 47 | } // namespace Common | 49 | } // namespace Common |