From 5a3dc37bc88b16103a17b4172f9d8d6834304fbe Mon Sep 17 00:00:00 2001 From: Jeroen Roovers Date: Wed, 7 Mar 2018 11:04:26 +0100 Subject: [PATCH] crypto: Use math.h definitions of isnan and isinf Unless you specify C++11, std::isnan and std::isinf are not guaranteed to be available. Instead, just use the math.h functions for now. PR-URL: https://github.com/nodejs/node/pull/19196 Reviewed-By: Anna Henningsen Reviewed-By: Yihong Wang Reviewed-By: James M Snell --- src/node_crypto.cc | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/node_crypto.cc b/src/node_crypto.cc index 63e58cc9f2eab3..1be8d92654eae2 100644 --- a/src/node_crypto.cc +++ b/src/node_crypto.cc @@ -36,9 +36,9 @@ #include "v8.h" #include +#include #include #include // INT_MAX -#include #include #include #include