mirror of
https://github.com/xmrig/xmrig.git
synced 2024-12-23 03:59:41 +00:00
Fixed Linux build.
This commit is contained in:
parent
3055e03b7e
commit
662a957106
1 changed files with 1 additions and 1 deletions
|
@ -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);
|
||||||
|
|
Loading…
Reference in a new issue