mirror of https://github.com/PCSX2/pcsx2.git
3rdparty/cpuinfo: Fix build with clang-cl
This commit is contained in:
parent
b8cfd83d33
commit
86ee1270e2
|
@ -2,6 +2,10 @@
|
||||||
|
|
||||||
#include <stdint.h>
|
#include <stdint.h>
|
||||||
|
|
||||||
|
#ifdef _MSC_VER
|
||||||
|
#include <intrin.h> // _BitScanReverse
|
||||||
|
#endif
|
||||||
|
|
||||||
|
|
||||||
inline static uint32_t bit_length(uint32_t n) {
|
inline static uint32_t bit_length(uint32_t n) {
|
||||||
const uint32_t n_minus_1 = n - 1;
|
const uint32_t n_minus_1 = n - 1;
|
||||||
|
|
Loading…
Reference in New Issue