From 05dc9821c56f615372c2a486e82032718c6994cd Mon Sep 17 00:00:00 2001 From: SChernykh Date: Fri, 6 Mar 2020 07:22:57 +0100 Subject: [PATCH] Fixed compilation withut randomx/argon2 --- src/crypto/common/Algorithm.cpp | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/crypto/common/Algorithm.cpp b/src/crypto/common/Algorithm.cpp index 0b3904f5d..27c0dd4da 100644 --- a/src/crypto/common/Algorithm.cpp +++ b/src/crypto/common/Algorithm.cpp @@ -166,7 +166,7 @@ size_t xmrig::Algorithm::l2() const size_t xmrig::Algorithm::l3() const { -# if defined(XMRIG_ALGO_RANDOMX) || defined(XMRIG_ALGO_ARGON2) +# if defined(XMRIG_ALGO_RANDOMX) || defined(XMRIG_ALGO_ARGON2) || defined(XMRIG_ALGO_ASTROBWT) constexpr size_t oneMiB = 0x100000; # endif