--- pdfium.old/core/fpdfapi/page/cpdf_psengine.cpp +++ pdfium/core/fpdfapi/page/cpdf_psengine.cpp @@ -75,7 +75,7 @@ // Round half up is a nearest integer round with half-way numbers always rounded // up. Example: -5.5 rounds to -5. float RoundHalfUp(float f) { - if (isnan(f)) + if (std::isnan(f)) return 0; if (f > std::numeric_limits::max() - 0.5f) return std::numeric_limits::max();