mirror of
https://github.com/xmrig/xmrig.git
synced 2024-11-17 16:27:44 +00:00
Fix build.
This commit is contained in:
parent
3cbf0dc0ee
commit
7f31f45b6d
1 changed files with 2 additions and 0 deletions
|
@ -54,6 +54,7 @@ extern int xmrig_ar2_check_sse2();
|
|||
bool xmrig::argon2::Impl::select(const String &nameHint, bool benchmark)
|
||||
{
|
||||
if (!selected) {
|
||||
# if !defined(XMRIG_ARM) || defined(__x86_64__) || defined(_M_AMD64)
|
||||
auto hint = nameHint;
|
||||
|
||||
if (hint.isEmpty() && !benchmark) {
|
||||
|
@ -74,6 +75,7 @@ bool xmrig::argon2::Impl::select(const String &nameHint, bool benchmark)
|
|||
if (hint.isEmpty() || argon2_select_impl_by_name(hint) == 0) {
|
||||
argon2_select_impl();
|
||||
}
|
||||
# endif
|
||||
|
||||
selected = true;
|
||||
implName = argon2_get_impl_name();
|
||||
|
|
Loading…
Reference in a new issue