Skip to content

Commit

Permalink
Update minisketch subtree to latest upstream
Browse files Browse the repository at this point in the history
  • Loading branch information
fanquake committed Feb 4, 2022
2 parents a5edd19 + 8fcb19f commit 4382d09
Showing 1 changed file with 2 additions and 4 deletions.
6 changes: 2 additions & 4 deletions src/minisketch/src/minisketch.cpp
Expand Up @@ -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);
Expand All @@ -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)
{
Expand Down

0 comments on commit 4382d09

Please sign in to comment.