Index: test/cctest/test-checks.cc |
diff --git a/test/cctest/test-checks.cc b/test/cctest/test-checks.cc |
index ac68b2119305b1d08e52f14c1da5e0c7f617bfb7..79e87ddd0c8572d7bb531f8a8e64cd37a506d16c 100644 |
--- a/test/cctest/test-checks.cc |
+++ b/test/cctest/test-checks.cc |
@@ -16,7 +16,7 @@ |
TEST(CheckEqualsReflexivity) { |
- double inf = std::numeric_limits<double>::infinity(); |
+ double inf = V8_INFINITY; |
double nan = v8::base::OS::nan_value(); |
double constants[] = {-nan, -inf, -3.1415, -1.0, -0.1, -0.0, |
0.0, 0.1, 1.0, 3.1415, inf, nan}; |