Index: test/cctest/test-heap.cc |
diff --git a/test/cctest/test-heap.cc b/test/cctest/test-heap.cc |
index 9aa839be6c38e131b32da90d3f6af1bfb6f21941..c0bd08af168930c97afd4edefc52a909a7d45ee8 100644 |
--- a/test/cctest/test-heap.cc |
+++ b/test/cctest/test-heap.cc |
@@ -199,7 +199,7 @@ TEST(HeapObjects) { |
// nan oddball checks |
CHECK(heap->nan_value()->IsNumber()); |
- CHECK(isnan(heap->nan_value()->Number())); |
+ CHECK(std::isnan(heap->nan_value()->Number())); |
Handle<String> s = FACTORY->NewStringFromAscii(CStrVector("fisk hest ")); |
CHECK(s->IsString()); |