summaryrefslogtreecommitdiff
path: root/Source/ctest.cxx
diff options
context:
space:
mode:
authorBrad King <brad.king@kitware.com>2016-10-04 09:34:37 -0400
committerBrad King <brad.king@kitware.com>2016-10-04 09:34:37 -0400
commit5385817762e636ae27717891892786294749aee2 (patch)
treeba1efbaae788e75b4a177a034a432140e8d1efd0 /Source/ctest.cxx
parent834efe12bf6bf8059e545ac496eeb390c08e4220 (diff)
downloadcmake-5385817762e636ae27717891892786294749aee2.tar.gz
Do not define cout/cerr preprocessor symbols
Apply the change from commit bd3d0eaf (cmCTest: don't redefine cout and cerr, 2016-09-01) to the rest of ctest and cpack. These definitions are no longer needed because our conventions are well established.
Diffstat (limited to 'Source/ctest.cxx')
-rw-r--r--Source/ctest.cxx4
1 files changed, 0 insertions, 4 deletions
diff --git a/Source/ctest.cxx b/Source/ctest.cxx
index 1fb39ffd0e..8ab17b9de6 100644
--- a/Source/ctest.cxx
+++ b/Source/ctest.cxx
@@ -163,11 +163,7 @@ int main(int argc, char const* const* argv)
doc.SetSection("Name", cmDocumentationName);
doc.SetSection("Usage", cmDocumentationUsage);
doc.PrependSection("Options", cmDocumentationOptions);
-#ifdef cout
-#undef cout
-#endif
return doc.PrintRequestedDocumentation(std::cout) ? 0 : 1;
-#define cout no_cout_use_cmCTestLog
}
}