diff options
author | Andrew Morrow <acm@mongodb.com> | 2015-03-11 16:23:24 -0400 |
---|---|---|
committer | Andrew Morrow <acm@mongodb.com> | 2015-03-11 18:57:20 -0400 |
commit | 17a7f0eedd286a19a5027c02efc358b39ccc8d84 (patch) | |
tree | 5f93c28965f1e19867bb36c721d09609dd97cb1b /src/mongo/base | |
parent | b4f647796a0c37fbb95d71aa9ee9b63fcbfcb782 (diff) | |
download | mongo-17a7f0eedd286a19a5027c02efc358b39ccc8d84.tar.gz |
SERVER-17552 Use correct OS detection macros, rather than our own
Diffstat (limited to 'src/mongo/base')
-rw-r--r-- | src/mongo/base/parse_number_test.cpp | 2 |
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 3f30448d26d..952e1cc3866 100644 --- a/src/mongo/base/parse_number_test.cpp +++ b/src/mongo/base/parse_number_test.cpp @@ -297,7 +297,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(__sun)) // 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. // See SERVER-14131. |