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
This commit is contained in:
Chris Lattner 2003-06-06 22:13:01 +00:00
parent b8c8829a4a
commit 903c2d11e2
2 changed files with 2 additions and 2 deletions

View File

@ -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";

View File

@ -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";