Fixed build.

This commit is contained in:
XMRig
2019-07-10 02:28:45 +07:00
parent e1edfa3312
commit c35d2e2025
5 changed files with 12 additions and 5 deletions

View File

@@ -22,7 +22,7 @@
* along with this program. If not, see <http://www.gnu.org/licenses/>.
*/
#include <math.h>
#include <cmath>
#include <string.h>
#include <uv.h>
@@ -44,7 +44,7 @@ static inline rapidjson::Value normalize(double d)
{
using namespace rapidjson;
if (!isnormal(d)) {
if (!std::isnormal(d)) {
return Value(kNullType);
}