From 355fc5ad5008d57653e68dc248ac527e722c9b1e Mon Sep 17 00:00:00 2001 From: Bill Wendling Date: Thu, 7 Dec 2006 20:28:15 +0000 Subject: Removed more includes llvm-svn: 32321 --- llvm/lib/Support/SystemUtils.cpp | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) (limited to 'llvm/lib/Support/SystemUtils.cpp') diff --git a/llvm/lib/Support/SystemUtils.cpp b/llvm/lib/Support/SystemUtils.cpp index 124251165d6..1d2c1086aea 100644 --- a/llvm/lib/Support/SystemUtils.cpp +++ b/llvm/lib/Support/SystemUtils.cpp @@ -16,12 +16,12 @@ #include "llvm/Support/SystemUtils.h" #include "llvm/System/Process.h" #include "llvm/System/Program.h" -#include using namespace llvm; bool llvm::CheckBytecodeOutputToConsole(std::ostream* stream_to_check, bool print_warning) { - if (stream_to_check == &std::cout && sys::Process::StandardOutIsDisplayed()) { + if (stream_to_check == cout.stream() && + sys::Process::StandardOutIsDisplayed()) { if (print_warning) { cerr << "WARNING: You're attempting to print out a bytecode file.\n" << "This is inadvisable as it may cause display problems. If\n" -- cgit v1.2.3