Skip to content
This repository has been archived by the owner on Oct 20, 2023. It is now read-only.

Commit

Permalink
Fixed linux build
Browse files Browse the repository at this point in the history
  • Loading branch information
Oliver Weichhold committed Dec 3, 2017
1 parent 4487871 commit b4616aa
Showing 1 changed file with 1 addition and 12 deletions.
13 changes: 1 addition & 12 deletions src/Native/libcryptonote/crypto/slow-hash-lite.c
Original file line number Diff line number Diff line change
Expand Up @@ -159,18 +159,7 @@ THREADV int hp_allocated_lite = 0;
#if defined(_MSC_VER)
#define cpuid(info,x) __cpuidex(info,x,0)
#else
void cpuid(int CPUInfo[4], int InfoType)
{
ASM __volatile__
(
"cpuid":
"=a" (CPUInfo[0]),
"=b" (CPUInfo[1]),
"=c" (CPUInfo[2]),
"=d" (CPUInfo[3]) :
"a" (InfoType), "c" (0)
);
}
extern void cpuid(int CPUInfo[4], int InfoType);
#endif

/**
Expand Down

0 comments on commit b4616aa

Please sign in to comment.