Added MSVC support for Argon2.

This commit is contained in:
XMRig
2019-08-17 04:01:53 +07:00
parent 9861f9eadd
commit e747f8b06c
13 changed files with 132 additions and 87 deletions

View File

@@ -333,6 +333,10 @@ rapidjson::Value xmrig::CpuBackend::toJSON(rapidjson::Document &doc) const
out.AddMember("asm", false, allocator);
# endif
# ifdef XMRIG_ALGO_ARGON2
out.AddMember("argon2-impl", argon2::Impl::name().toJSON(), allocator);
# endif
const auto pages = hugePages();
rapidjson::Value hugepages(rapidjson::kArrayType);