Fixed: failed open default config file if path contains non English characters.

This commit is contained in:
XMRig 2017-08-16 12:22:35 +03:00
parent ad0d876b18
commit 1b0ddae4eb
4 changed files with 50 additions and 33 deletions

View file

@ -28,6 +28,7 @@
class Platform
{
public:
static const char *defaultConfigName();
static void init();
static void release();
static void setProcessPriority(int priority);
@ -36,6 +37,7 @@ public:
static inline const char *userAgent() { return m_userAgent; }
private:
static char *m_defaultConfigName;
static char *m_userAgent;
};