mirror of
https://github.com/xmrig/xmrig.git
synced 2025-12-08 08:23:34 -05:00
Fix Linux build.
This commit is contained in:
@@ -139,7 +139,7 @@ void xmrig::Config::getJSON(rapidjson::Document &doc) const
|
|||||||
doc.AddMember("user-agent", userAgent() ? rapidjson::Value(rapidjson::StringRef(userAgent())).Move() : rapidjson::Value(rapidjson::kNullType).Move(), allocator);
|
doc.AddMember("user-agent", userAgent() ? rapidjson::Value(rapidjson::StringRef(userAgent())).Move() : rapidjson::Value(rapidjson::kNullType).Move(), allocator);
|
||||||
|
|
||||||
# ifdef HAVE_SYSLOG_H
|
# ifdef HAVE_SYSLOG_H
|
||||||
doc.AddMember("syslog", syslog(), allocator);
|
doc.AddMember("syslog", isSyslog(), allocator);
|
||||||
# endif
|
# endif
|
||||||
|
|
||||||
doc.AddMember("watch", m_watch, allocator);
|
doc.AddMember("watch", m_watch, allocator);
|
||||||
|
|||||||
Reference in New Issue
Block a user