mirror of
https://github.com/xmrig/xmrig.git
synced 2025-12-25 13:42:54 -05:00
#1284 Fixed build without RandomX.
This commit is contained in:
@@ -157,7 +157,9 @@ size_t xmrig::Algorithm::l2() const
|
||||
|
||||
size_t xmrig::Algorithm::l3() const
|
||||
{
|
||||
# if defined(XMRIG_ALGO_RANDOMX) || defined(XMRIG_ALGO_ARGON2)
|
||||
constexpr size_t oneMiB = 0x100000;
|
||||
# endif
|
||||
|
||||
const Family f = family();
|
||||
assert(f != UNKNOWN);
|
||||
|
||||
Reference in New Issue
Block a user