mirror of
https://github.com/twisterarmy/twister-core.git
synced 2025-01-23 04:54:30 +00:00
fix build on non-intel architectures, thanks teknohog
git-svn-id: https://bitcoin.svn.sourceforge.net/svnroot/bitcoin/trunk@152 1a98c847-1fd6-4fd8-948a-caf3550aa51b
This commit is contained in:
parent
00728c24e7
commit
2323664a37
2
main.cpp
2
main.cpp
@ -2767,7 +2767,7 @@ inline void SHA256Transform(void* pstate, void* pinput, const void* pinit)
|
|||||||
static const int NPAR = 32;
|
static const int NPAR = 32;
|
||||||
extern void Double_BlockSHA256(const void* pin, void* pout, const void* pinit, unsigned int hash[8][NPAR], const void* init2);
|
extern void Double_BlockSHA256(const void* pin, void* pout, const void* pinit, unsigned int hash[8][NPAR], const void* init2);
|
||||||
|
|
||||||
#ifdef __GNUC__
|
#if defined(__GNUC__) && defined(CRYPTOPP_X86_ASM_AVAILABLE)
|
||||||
void CallCPUID(int in, int& aret, int& cret)
|
void CallCPUID(int in, int& aret, int& cret)
|
||||||
{
|
{
|
||||||
int a, c;
|
int a, c;
|
||||||
|
Loading…
x
Reference in New Issue
Block a user