Fixed build.

This commit is contained in:
XMRig 2019-07-10 02:28:45 +07:00
parent f42adafee0
commit 3bebf778da
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);
}