mirror of
https://github.com/microsoft/mimalloc.git
synced 2025-07-06 11:34:38 +03:00
split bitmap code into separate header and source file
This commit is contained in:
parent
30b993ecf3
commit
c86459afef
15 changed files with 194 additions and 120 deletions
|
@ -770,6 +770,7 @@ static inline size_t mi_ctz(uintptr_t x) {
|
|||
|
||||
#elif defined(_MSC_VER)
|
||||
|
||||
#include <limits.h> // LONG_MAX
|
||||
#define MI_HAVE_FAST_BITSCAN
|
||||
static inline size_t mi_clz(uintptr_t x) {
|
||||
if (x==0) return MI_INTPTR_BITS;
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue