make dummy __get_cpuid available on Windows
This commit is contained in:
parent
5dbda8f519
commit
18915ae2bd
@ -115,7 +115,7 @@ class IteratorbasedCRC32
|
|||||||
__get_cpuid(1, &eax, &ebx, &ecx, &edx);
|
__get_cpuid(1, &eax, &ebx, &ecx, &edx);
|
||||||
return ecx;
|
return ecx;
|
||||||
}
|
}
|
||||||
#if defined(__MINGW64__)
|
#if defined(__MINGW64__) || defined(_MSC_VER)
|
||||||
inline void __get_cpuid(int param, unsigned *eax, unsigned *ebx, unsigned *ecx, unsigned *edx) const
|
inline void __get_cpuid(int param, unsigned *eax, unsigned *ebx, unsigned *ecx, unsigned *edx) const
|
||||||
{
|
{
|
||||||
*ecx = 0;
|
*ecx = 0;
|
||||||
|
Loading…
Reference in New Issue
Block a user