summaryrefslogtreecommitdiff
path: root/src/mongo/util/time_support.cpp
diff options
context:
space:
mode:
authorAndrew Morrow <acm@mongodb.com>2015-03-11 16:23:24 -0400
committerAndrew Morrow <acm@mongodb.com>2015-03-11 18:57:20 -0400
commit17a7f0eedd286a19a5027c02efc358b39ccc8d84 (patch)
tree5f93c28965f1e19867bb36c721d09609dd97cb1b /src/mongo/util/time_support.cpp
parentb4f647796a0c37fbb95d71aa9ee9b63fcbfcb782 (diff)
downloadmongo-17a7f0eedd286a19a5027c02efc358b39ccc8d84.tar.gz
SERVER-17552 Use correct OS detection macros, rather than our own
Diffstat (limited to 'src/mongo/util/time_support.cpp')
-rw-r--r--src/mongo/util/time_support.cpp2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/mongo/util/time_support.cpp b/src/mongo/util/time_support.cpp
index 0a06af6cc0c..69369582058 100644
--- a/src/mongo/util/time_support.cpp
+++ b/src/mongo/util/time_support.cpp
@@ -55,7 +55,7 @@
#endif
#endif
-#ifdef __sunos__
+#ifdef __sun
// Some versions of Solaris do not have timegm defined, so fall back to our implementation when
// building on Solaris. See SERVER-13446.
extern "C" time_t