3rdparty/cpuinfo: Fix build with clang-cl

This commit is contained in:
Stenzek 2023-08-24 12:03:10 +10:00 committed by refractionpcsx2
parent b8cfd83d33
commit 86ee1270e2
1 changed files with 4 additions and 0 deletions

View File

@ -2,6 +2,10 @@
#include <stdint.h>
#ifdef _MSC_VER
#include <intrin.h> // _BitScanReverse
#endif
inline static uint32_t bit_length(uint32_t n) {
const uint32_t n_minus_1 = n - 1;