Index: src/json-stringifier.h |
diff --git a/src/json-stringifier.h b/src/json-stringifier.h |
index 3bab324e14c1d6583573963ffe64d2e8156825d9..47a01297a87db1be738038e5d9f800d8d08009ff 100644 |
--- a/src/json-stringifier.h |
+++ b/src/json-stringifier.h |
@@ -522,7 +522,7 @@ BasicJsonStringifier::Result BasicJsonStringifier::SerializeSmi(Smi* object) { |
BasicJsonStringifier::Result BasicJsonStringifier::SerializeDouble( |
double number) { |
- if (isinf(number) || isnan(number)) { |
+ if (std::isinf(number) || std::isnan(number)) { |
AppendAscii("null"); |
return SUCCESS; |
} |