mirror of
https://github.com/microsoft/mimalloc.git
synced 2025-07-06 19:38:41 +03:00
update older vs ide projects
This commit is contained in:
parent
e937070cf1
commit
c4c96d2f8d
5 changed files with 9 additions and 0 deletions
|
@ -699,6 +699,7 @@ static inline size_t mi_ctz(uintptr_t x) {
|
|||
#elif defined(_MSC_VER)
|
||||
|
||||
#include <limits.h> // LONG_MAX
|
||||
#include <intrin.h> // BitScanReverse64
|
||||
#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