diff options
-rw-r--r-- | common/bitops.h | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/common/bitops.h b/common/bitops.h index 48236627..449409bd 100644 --- a/common/bitops.h +++ b/common/bitops.h @@ -27,7 +27,7 @@ extern "C" { #endif -#ifdef WIN32 +#if defined(WIN32) && !defined(_WIN64) static INLINE int spice_bit_find_msb(uint32_t val) { uint32_t r; @@ -56,7 +56,7 @@ static inline int spice_bit_find_msb(unsigned int val) } #else -static inline int spice_bit_find_msb(unsigned int val) +static INLINE int spice_bit_find_msb(unsigned int val) { signed char index = 31; |