summaryrefslogtreecommitdiff
path: root/src/mongo/shell/shell_utils_launcher.cpp
diff options
context:
space:
mode:
authorMatt Cotter <matt.cotter@mongodb.com>2016-10-13 10:55:52 -0400
committerMatt Cotter <matt.cotter@mongodb.com>2016-10-13 13:12:36 -0400
commite4307bfbe188cd6e85cf1e984db4ac5b8701c042 (patch)
tree9a3f684c8967084b210bfdb51519bb0d21e16e5d /src/mongo/shell/shell_utils_launcher.cpp
parent1fcd8435b8c52fa4284be51d8c44a273f0db5382 (diff)
downloadmongo-e4307bfbe188cd6e85cf1e984db4ac5b8701c042.tar.gz
SERVER-22992 only declare _createProcessMtx on windows
Diffstat (limited to 'src/mongo/shell/shell_utils_launcher.cpp')
-rw-r--r--src/mongo/shell/shell_utils_launcher.cpp2
1 files changed, 2 insertions, 0 deletions
diff --git a/src/mongo/shell/shell_utils_launcher.cpp b/src/mongo/shell/shell_utils_launcher.cpp
index d3536b8f56d..ee769939185 100644
--- a/src/mongo/shell/shell_utils_launcher.cpp
+++ b/src/mongo/shell/shell_utils_launcher.cpp
@@ -108,9 +108,11 @@ inline int pipe(int fds[2]) {
*/
namespace shell_utils {
+#ifdef _WIN32
namespace {
stdx::mutex _createProcessMtx;
} // namespace
+#endif
ProgramOutputMultiplexer programOutputLogger;