mirror of
https://github.com/xmrig/xmrig.git
synced 2025-03-12 09:37:35 +00:00
#111 Fixed build without AEON support.
This commit is contained in:
parent
3a7bb24b40
commit
4cf3bb9930
1 changed files with 4 additions and 0 deletions
|
@ -140,5 +140,9 @@ bool CryptoNight::selfTest(int algo) {
|
|||
_mm_free(ctx->memory);
|
||||
_mm_free(ctx);
|
||||
|
||||
# ifndef XMRIG_NO_AEON
|
||||
return memcmp(output, algo == Options::ALGO_CRYPTONIGHT_LITE ? test_output1 : test_output0, (Options::i()->doubleHash() ? 64 : 32)) == 0;
|
||||
# else
|
||||
return memcmp(output, test_output0, (Options::i()->doubleHash() ? 64 : 32)) == 0;
|
||||
# endif
|
||||
}
|
||||
|
|
Loading…
Reference in a new issue