diff options
Diffstat (limited to 'base')
-rw-r--r-- | base/intmath.hh | 4 |
1 files changed, 3 insertions, 1 deletions
diff --git a/base/intmath.hh b/base/intmath.hh index fc28eecef..821514668 100644 --- a/base/intmath.hh +++ b/base/intmath.hh @@ -119,7 +119,8 @@ FloorLog2(int64_t x) return FloorLog2((uint64_t)x); } -inline int +#if defined(__APPLE__) +int FloorLog2(size_t x) { assert(x > 0); @@ -132,6 +133,7 @@ FloorLog2(size_t x) return FloorLog2((uint64_t)x); } +#endif template <class T> inline int |