diff options
author | Bill Hoffman <bill.hoffman@kitware.com> | 2007-09-11 16:23:59 (GMT) |
---|---|---|
committer | Bill Hoffman <bill.hoffman@kitware.com> | 2007-09-11 16:23:59 (GMT) |
commit | 66a094a9eb14d43cb21fdea76479d2e8f8c94648 (patch) | |
tree | c21bcb3609e330ea3ab601a591ee90881413a746 /Source/cmSystemTools.cxx | |
parent | 3edcd70754afe7c6b2ff71e0010c6b3d64b4fe37 (diff) | |
download | CMake-66a094a9eb14d43cb21fdea76479d2e8f8c94648.zip CMake-66a094a9eb14d43cb21fdea76479d2e8f8c94648.tar.gz CMake-66a094a9eb14d43cb21fdea76479d2e8f8c94648.tar.bz2 |
ENH: opps
Diffstat (limited to 'Source/cmSystemTools.cxx')
-rw-r--r-- | Source/cmSystemTools.cxx | 2 |
1 files changed, 2 insertions, 0 deletions
diff --git a/Source/cmSystemTools.cxx b/Source/cmSystemTools.cxx index 7e59724..ba063e7 100644 --- a/Source/cmSystemTools.cxx +++ b/Source/cmSystemTools.cxx @@ -1978,6 +1978,7 @@ int cmSystemTools::WaitForLine(cmsysProcess* process, std::string& line, void cmSystemTools::DoNotInheritStdPipes() { +#ifdef _WIN32 { HANDLE out = GetStdHandle(STD_OUTPUT_HANDLE); DuplicateHandle(GetCurrentProcess(), out, @@ -1992,4 +1993,5 @@ void cmSystemTools::DoNotInheritStdPipes() DUPLICATE_SAME_ACCESS | DUPLICATE_CLOSE_SOURCE); SetStdHandle(STD_ERROR_HANDLE, out); } +#endif } |