Fix typo in preprocessor defined/!defined
This commit is contained in:
parent
421affd06e
commit
19918b948d
1 changed files with 1 additions and 1 deletions
|
@ -11574,7 +11574,7 @@ TEST_CASE("regression tests")
|
||||||
|
|
||||||
// Test fails under GCC/clang due to strtod() error (may originate in libstdc++
|
// Test fails under GCC/clang due to strtod() error (may originate in libstdc++
|
||||||
// but seems to have been fixed in the most current versions - just not on Travis)
|
// but seems to have been fixed in the most current versions - just not on Travis)
|
||||||
#if defined(__clang__) || defined(__GNUC__) || defined(__GNUG__)
|
#if !defined(__clang__) && !defined(__GNUC__) && !defined(__GNUG__)
|
||||||
j = json::parse("1.00000000000000011102230246251565404236316680908203126");
|
j = json::parse("1.00000000000000011102230246251565404236316680908203126");
|
||||||
CHECK(j.get<double>() == 1.00000000000000022);
|
CHECK(j.get<double>() == 1.00000000000000022);
|
||||||
#endif
|
#endif
|
||||||
|
|
Loading…
Reference in a new issue