mirror of
https://github.com/xmrig/xmrig.git
synced 2026-02-02 18:13:04 -05:00
Fixed Linux build.
This commit is contained in:
@@ -52,7 +52,7 @@ bool xmrig::Json::save(const char *fileName, const rapidjson::Document &doc)
|
|||||||
rapidjson::PrettyWriter<rapidjson::OStreamWrapper> writer(osw);
|
rapidjson::PrettyWriter<rapidjson::OStreamWrapper> writer(osw);
|
||||||
|
|
||||||
# ifdef XMRIG_JSON_SINGLE_LINE_ARRAY
|
# ifdef XMRIG_JSON_SINGLE_LINE_ARRAY
|
||||||
writer.SetFormatOptions(kFormatSingleLineArray);
|
writer.SetFormatOptions(rapidjson::kFormatSingleLineArray);
|
||||||
# endif
|
# endif
|
||||||
|
|
||||||
doc.Accept(writer);
|
doc.Accept(writer);
|
||||||
|
|||||||
Reference in New Issue
Block a user