Added ENV support for "user", "pass" and "rig-id" fields.

This commit is contained in:
XMRig 2019-12-22 19:09:30 +07:00
parent 356e666e61
commit 5bd6a1c028
No known key found for this signature in database
GPG key ID: 446A53638BE94409
6 changed files with 33 additions and 13 deletions

View file

@ -30,6 +30,11 @@
#include <uv.h>
#ifndef _WIN32
# include <unistd.h>
#endif
#ifndef UV_MAXHOSTNAMESIZE
# ifdef MAXHOSTNAMELEN
# define UV_MAXHOSTNAMESIZE (MAXHOSTNAMELEN + 1)