1
0
mirror of https://github.com/xmrig/xmrig.git synced 2025-12-12 09:42:50 -05:00

Merge branch '64bit-is-not-x64' of https://github.com/rivoreo/xmrig into dev

This commit is contained in:
XMRig
2020-12-15 17:28:36 +07:00
4 changed files with 15 additions and 20 deletions

View File

@@ -72,9 +72,9 @@ public:
virtual ~ICpuInfo() = default;
# if defined(__x86_64__) || defined(_M_AMD64) || defined (__arm64__) || defined (__aarch64__)
inline constexpr static bool isX64() { return true; }
inline constexpr static bool is64bit() { return true; }
# else
inline constexpr static bool isX64() { return false; }
inline constexpr static bool is64bit() { return false; }
# endif
virtual Assembly::Id assembly() const = 0;