From 07cd402531852537fb109f8dcd63d6627b856087 Mon Sep 17 00:00:00 2001 From: Exzap <13877693+Exzap@users.noreply.github.com> Date: Sun, 12 Jan 2025 18:33:15 +0100 Subject: [PATCH] Update precompiled.h --- src/Common/precompiled.h | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) diff --git a/src/Common/precompiled.h b/src/Common/precompiled.h index 3dfeaf74f..bda75ceff 100644 --- a/src/Common/precompiled.h +++ b/src/Common/precompiled.h @@ -279,10 +279,10 @@ inline uint64 _udiv128(uint64 highDividend, uint64 lowDividend, uint64 divisor, #elif defined(__GNUC__) || defined(__clang__) #define FORCE_INLINE inline __attribute__((always_inline)) #else -#define FORCE_INLINE +#define FORCE_INLINE inline #endif -FORCE_INLINE inline int BSF(uint32 v) // returns index of first bit set, counting from LSB. If v is 0 then result is undefined +FORCE_INLINE int BSF(uint32 v) // returns index of first bit set, counting from LSB. If v is 0 then result is undefined { #if defined(_MSC_VER) return _tzcnt_u32(v); // TZCNT requires BMI1. But if not supported it will execute as BSF @@ -616,4 +616,4 @@ namespace stdx scope_exit& operator=(scope_exit) = delete; void release() { m_released = true;} }; -} \ No newline at end of file +}