From a32f9b5b04205e04ae131295e16d0a89c80ba034 Mon Sep 17 00:00:00 2001 From: XMRig Date: Mon, 21 Oct 2024 08:48:58 +0700 Subject: [PATCH] Fixed --version output on ARM. --- src/base/kernel/Entry.cpp | 14 ++++++-------- 1 file changed, 6 insertions(+), 8 deletions(-) diff --git a/src/base/kernel/Entry.cpp b/src/base/kernel/Entry.cpp index f12e833f..b99621b6 100644 --- a/src/base/kernel/Entry.cpp +++ b/src/base/kernel/Entry.cpp @@ -5,8 +5,8 @@ * Copyright 2014-2016 Wolf9466 * Copyright 2016 Jay D Dee * Copyright 2017-2018 XMR-Stak , - * Copyright 2018-2019 SChernykh - * Copyright 2016-2019 XMRig , + * Copyright 2018-2024 SChernykh + * Copyright 2016-2024 XMRig , * * This program is free software: you can redistribute it and/or modify * it under the terms of the GNU General Public License as published by @@ -22,11 +22,9 @@ * along with this program. If not, see . */ - #include #include - #ifdef XMRIG_FEATURE_TLS # include #endif @@ -66,13 +64,13 @@ static int showVersion() # endif printf("\n features:" -# if defined(__i386__) || defined(_M_IX86) - " 32-bit" -# elif defined(__x86_64__) || defined(_M_AMD64) +# if defined(__x86_64__) || defined(_M_AMD64) || defined (__arm64__) || defined (__aarch64__) " 64-bit" +# else + " 32-bit" # endif -# if defined(__AES__) || defined(_MSC_VER) +# if defined(__AES__) || defined(_MSC_VER) || defined(__ARM_FEATURE_CRYPTO) " AES" # endif "\n");