summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--src/mongo/base/parse_number_test.cpp2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/mongo/base/parse_number_test.cpp b/src/mongo/base/parse_number_test.cpp
index 82c70bf6fb7..89535b3d3da 100644
--- a/src/mongo/base/parse_number_test.cpp
+++ b/src/mongo/base/parse_number_test.cpp
@@ -285,7 +285,7 @@ namespace {
ASSERT_PARSES(double, "12e-8", 12e-8);
ASSERT_PARSES(double, "-485.381e-8", -485.381e-8);
-#if !(defined(_WIN32) || defined(__sunos))
+#if !(defined(_WIN32) || defined(__sunos__))
// Parse hexadecimal representations of a double. Hex literals not supported by MSVC, and
// not parseable by the Windows SDK libc or the Solaris libc in the mode we build.