mirror of
https://github.com/xmrig/xmrig.git
synced 2024-11-18 10:01:06 +00:00
Fixed ARM build.
This commit is contained in:
parent
62edb2fc0a
commit
e10671fa51
2 changed files with 3 additions and 3 deletions
|
@ -42,9 +42,9 @@ public:
|
||||||
virtual ~ICpuInfo() = default;
|
virtual ~ICpuInfo() = default;
|
||||||
|
|
||||||
# if defined(__x86_64__) || defined(_M_AMD64) || defined (__arm64__) || defined (__aarch64__)
|
# if defined(__x86_64__) || defined(_M_AMD64) || defined (__arm64__) || defined (__aarch64__)
|
||||||
inline constexpr bool isX64() const { return true; }
|
inline constexpr static bool isX64() { return true; }
|
||||||
# else
|
# else
|
||||||
inline constexpr bool isX64() const { return false; }
|
inline constexpr static bool isX64() { return false; }
|
||||||
# endif
|
# endif
|
||||||
|
|
||||||
virtual bool hasAES() const = 0;
|
virtual bool hasAES() const = 0;
|
||||||
|
|
|
@ -32,7 +32,7 @@
|
||||||
#endif
|
#endif
|
||||||
|
|
||||||
|
|
||||||
#include "common/cpu/BasicCpuInfo.h"
|
#include "backend/cpu/platform/BasicCpuInfo.h"
|
||||||
|
|
||||||
|
|
||||||
xmrig::BasicCpuInfo::BasicCpuInfo() :
|
xmrig::BasicCpuInfo::BasicCpuInfo() :
|
||||||
|
|
Loading…
Reference in a new issue