mirror of
https://github.com/xmrig/xmrig.git
synced 2025-12-10 01:02:40 -05:00
Compare commits
1 Commits
10f1994c91
...
507741e6e8
| Author | SHA1 | Date | |
|---|---|---|---|
|
|
507741e6e8 |
@@ -142,7 +142,7 @@ void xmrig::BaseConfig::printVersions()
|
|||||||
snprintf(buf, sizeof buf, "MSVC/%d", MSVC_VERSION);
|
snprintf(buf, sizeof buf, "MSVC/%d", MSVC_VERSION);
|
||||||
# endif
|
# endif
|
||||||
|
|
||||||
Log::print(GREEN_BOLD(" * ") WHITE_BOLD("%-13s") CYAN_BOLD("%s/%s") WHITE_BOLD(" %s") WHITE_BOLD(" (built for %s") WHITE_BOLD(" %s,") WHITE_BOLD(" %s)"), "ABOUT", APP_NAME, APP_VERSION, buf, APP_OS, APP_ARCH, APP_BITS);
|
Log::print(GREEN_BOLD(" * ") WHITE_BOLD("%-13s") CYAN_BOLD("%s/%s") WHITE_BOLD(" %s"), "ABOUT", APP_NAME, APP_VERSION, buf);
|
||||||
|
|
||||||
std::string libs;
|
std::string libs;
|
||||||
|
|
||||||
|
|||||||
@@ -52,39 +52,4 @@
|
|||||||
# endif
|
# endif
|
||||||
#endif
|
#endif
|
||||||
|
|
||||||
#ifdef XMRIG_OS_WIN
|
|
||||||
# define APP_OS "Windows"
|
|
||||||
#elif defined XMRIG_OS_IOS
|
|
||||||
# define APP_OS "iOS"
|
|
||||||
#elif defined XMRIG_OS_MACOS
|
|
||||||
# define APP_OS "macOS"
|
|
||||||
#elif defined XMRIG_OS_ANDROID
|
|
||||||
# define APP_OS "Android"
|
|
||||||
#elif defined XMRIG_OS_LINUX
|
|
||||||
# define APP_OS "Linux"
|
|
||||||
#elif defined XMRIG_OS_FREEBSD
|
|
||||||
# define APP_OS "FreeBSD"
|
|
||||||
#else
|
|
||||||
# define APP_OS "Unknown OS"
|
|
||||||
#endif
|
|
||||||
|
|
||||||
#define STR(X) #X
|
|
||||||
#define STR2(X) STR(X)
|
|
||||||
|
|
||||||
#ifdef XMRIG_ARM
|
|
||||||
# define APP_ARCH "ARMv" STR2(XMRIG_ARM)
|
|
||||||
#else
|
|
||||||
# if defined(__x86_64__) || defined(__amd64__) || defined(_M_X64) || defined(_M_AMD64)
|
|
||||||
# define APP_ARCH "x86-64"
|
|
||||||
# else
|
|
||||||
# define APP_ARCH "x86"
|
|
||||||
# endif
|
|
||||||
#endif
|
|
||||||
|
|
||||||
#ifdef XMRIG_64_BIT
|
|
||||||
# define APP_BITS "64 bit"
|
|
||||||
#else
|
|
||||||
# define APP_BITS "32 bit"
|
|
||||||
#endif
|
|
||||||
|
|
||||||
#endif // XMRIG_VERSION_H
|
#endif // XMRIG_VERSION_H
|
||||||
|
|||||||
Reference in New Issue
Block a user