mirror of
https://github.com/xmrig/xmrig.git
synced 2025-01-24 19:46:15 +00:00
Properly report ARM architecture on user agent.
This commit is contained in:
parent
fc1bbbba6e
commit
7e83fb306e
1 changed files with 4 additions and 0 deletions
|
@ -61,6 +61,10 @@ char *Platform::createUserAgent()
|
||||||
|
|
||||||
# if defined(__x86_64__)
|
# if defined(__x86_64__)
|
||||||
length += snprintf(buf + length, max - length, "x86_64) libuv/%s", uv_version_string());
|
length += snprintf(buf + length, max - length, "x86_64) libuv/%s", uv_version_string());
|
||||||
|
# elif defined(__aarch64__)
|
||||||
|
length += snprintf(buf + length, max - length, "aarch64) libuv/%s", uv_version_string());
|
||||||
|
# elif defined(__arm__)
|
||||||
|
length += snprintf(buf + length, max - length, "arm) libuv/%s", uv_version_string());
|
||||||
# else
|
# else
|
||||||
length += snprintf(buf + length, max - length, "i686) libuv/%s", uv_version_string());
|
length += snprintf(buf + length, max - length, "i686) libuv/%s", uv_version_string());
|
||||||
# endif
|
# endif
|
||||||
|
|
Loading…
Reference in a new issue