From 903c2d11e2dfadaaa7c04c2e46bac62d82e7ed15 Mon Sep 17 00:00:00 2001 From: Chris Lattner Date: Fri, 6 Jun 2003 22:13:01 +0000 Subject: [PATCH] Fix compilation problem with some versions of G++ git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@6660 91177308-0d34-0410-b5e6-96231b3b80d8 --- lib/Support/Timer.cpp | 2 +- support/lib/Support/Timer.cpp | 2 +- 2 files changed, 2 insertions(+), 2 deletions(-) diff --git a/lib/Support/Timer.cpp b/lib/Support/Timer.cpp index 85114b57f2b..625653afe1a 100644 --- a/lib/Support/Timer.cpp +++ b/lib/Support/Timer.cpp @@ -235,7 +235,7 @@ std::ostream *GetLibSupportInfoOutputFile() { return &std::cout; std::ostream *Result = new std::ofstream(LibSupportInfoOutputFilename.c_str(), - std::ios_base::app); + std::ios::app); if (!Result->good()) { std::cerr << "Error opening info-output-file '" << LibSupportInfoOutputFilename << " for appending!\n"; diff --git a/support/lib/Support/Timer.cpp b/support/lib/Support/Timer.cpp index 85114b57f2b..625653afe1a 100644 --- a/support/lib/Support/Timer.cpp +++ b/support/lib/Support/Timer.cpp @@ -235,7 +235,7 @@ std::ostream *GetLibSupportInfoOutputFile() { return &std::cout; std::ostream *Result = new std::ofstream(LibSupportInfoOutputFilename.c_str(), - std::ios_base::app); + std::ios::app); if (!Result->good()) { std::cerr << "Error opening info-output-file '" << LibSupportInfoOutputFilename << " for appending!\n";