Universal fix for NaN and Infinity in JSON output

This commit is contained in:
XMRig 2025-06-06 14:36:21 +07:00
parent 184d6100dc
commit 682834b87d
No known key found for this signature in database
GPG key ID: 446A53638BE94409
2 changed files with 11 additions and 3 deletions

View file

@ -29,6 +29,8 @@ else()
set(WITH_VAES OFF)
endif()
add_definitions(-DRAPIDJSON_WRITE_DEFAULT_FLAGS=6) # rapidjson::kWriteNanAndInfFlag | rapidjson::kWriteNanAndInfNullFlag
if (ARM_V8)
set(ARM_TARGET 8)
elseif (ARM_V7)