depends: update 'src/minisketch' to sipa/minisketch@7eeb778f as 2a7b57f5

This commit is contained in:
Kittywhiskers Van Gogh 2024-10-20 10:37:20 +00:00
commit b0b8d19efb
No known key found for this signature in database
GPG Key ID: 30CD0C065E5C4AAD

View File

@ -63,9 +63,9 @@ enum class FieldImpl {
#endif
};
#ifdef HAVE_CLMUL
static inline bool EnableClmul()
{
#ifdef HAVE_CLMUL
#ifdef _MSC_VER
int regs[4];
__cpuid(regs, 1);
@ -74,10 +74,8 @@ static inline bool EnableClmul()
uint32_t eax, ebx, ecx, edx;
return (__get_cpuid(1, &eax, &ebx, &ecx, &edx) && (ecx & 0x2));
#endif
#else
return false;
#endif
}
#endif
Sketch* Construct(int bits, int impl)
{