diff options
Diffstat (limited to 'src/inc/bitposition.h')
-rw-r--r-- | src/inc/bitposition.h | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/src/inc/bitposition.h b/src/inc/bitposition.h index 392d9a6632..df7915546a 100644 --- a/src/inc/bitposition.h +++ b/src/inc/bitposition.h @@ -25,11 +25,11 @@ inline unsigned BitPosition(unsigned value) { _ASSERTE((value != 0) && ((value & (value-1)) == 0)); -#if defined(_TARGET_ARM_) && defined(__llvm__) +#if defined(_ARM_) && defined(__llvm__) // use intrinsic functions for arm32 // this is applied for LLVM only but it may work for some compilers DWORD index = __builtin_clz(__builtin_arm_rbit(value)); -#elif !defined(_TARGET_AMD64_) +#elif !defined(_AMD64_) const unsigned PRIME = 37; static const char hashTable[PRIME] = |