[cmake-commits] hoffman committed cmSystemTools.cxx 1.344 1.345

cmake-commits at cmake.org cmake-commits at cmake.org
Tue Sep 11 12:24:01 EDT 2007


Update of /cvsroot/CMake/CMake/Source
In directory public:/mounts/ram/cvs-serv27236

Modified Files:
	cmSystemTools.cxx 
Log Message:
ENH: opps


Index: cmSystemTools.cxx
===================================================================
RCS file: /cvsroot/CMake/CMake/Source/cmSystemTools.cxx,v
retrieving revision 1.344
retrieving revision 1.345
diff -u -d -r1.344 -r1.345
--- cmSystemTools.cxx	11 Sep 2007 15:21:36 -0000	1.344
+++ cmSystemTools.cxx	11 Sep 2007 16:23:59 -0000	1.345
@@ -1978,6 +1978,7 @@
 
 void cmSystemTools::DoNotInheritStdPipes()
 {   
+#ifdef _WIN32
   {
   HANDLE out = GetStdHandle(STD_OUTPUT_HANDLE);
   DuplicateHandle(GetCurrentProcess(), out,
@@ -1992,4 +1993,5 @@
                   DUPLICATE_SAME_ACCESS | DUPLICATE_CLOSE_SOURCE);
   SetStdHandle(STD_ERROR_HANDLE, out);
   }
+#endif
 }



More information about the Cmake-commits mailing list