diff options
author | Matt Cotter <matt.cotter@mongodb.com> | 2016-10-13 10:55:52 -0400 |
---|---|---|
committer | Matt Cotter <matt.cotter@mongodb.com> | 2016-10-13 13:12:36 -0400 |
commit | e4307bfbe188cd6e85cf1e984db4ac5b8701c042 (patch) | |
tree | 9a3f684c8967084b210bfdb51519bb0d21e16e5d /src/mongo/shell/shell_utils_launcher.cpp | |
parent | 1fcd8435b8c52fa4284be51d8c44a273f0db5382 (diff) | |
download | mongo-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.cpp | 2 |
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; |