Index: src/utils.h |
diff --git a/src/utils.h b/src/utils.h |
index a0553d266c5b2b045a6e25f9ed34ba388b16f2b3..7ab58ce3bc75160c677d934acfad7ffd96aa2a95 100644 |
--- a/src/utils.h |
+++ b/src/utils.h |
@@ -10,6 +10,7 @@ |
#include <string.h> |
#include "src/allocation.h" |
+#include "src/base/macros.h" |
#include "src/checks.h" |
#include "src/globals.h" |
#include "src/list.h" |
@@ -22,8 +23,6 @@ namespace internal { |
// ---------------------------------------------------------------------------- |
// General helper functions |
-#define IS_POWER_OF_TWO(x) ((x) != 0 && (((x) & ((x) - 1)) == 0)) |
- |
// Returns true iff x is a power of 2. Cannot be used with the maximally |
// negative value of the type T (the -1 overflows). |
template <typename T> |