summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorChris Lattner <sabre@nondot.org>2003-06-06 22:13:01 +0000
committerChris Lattner <sabre@nondot.org>2003-06-06 22:13:01 +0000
commit235b91e2ea518362be90ce6a3d6f677f204f346e (patch)
tree05dbcc40ee86d972fc0916724661ea0aace3ca3d
parentefadd781f4967bfaaff91b89eb8549995cde0bb2 (diff)
downloadbcm5719-llvm-235b91e2ea518362be90ce6a3d6f677f204f346e.tar.gz
bcm5719-llvm-235b91e2ea518362be90ce6a3d6f677f204f346e.zip
Fix compilation problem with some versions of G++
llvm-svn: 6660
-rw-r--r--llvm/lib/Support/Timer.cpp2
-rw-r--r--llvm/support/lib/Support/Timer.cpp2
2 files changed, 2 insertions, 2 deletions
diff --git a/llvm/lib/Support/Timer.cpp b/llvm/lib/Support/Timer.cpp
index 85114b57f2b..625653afe1a 100644
--- a/llvm/lib/Support/Timer.cpp
+++ b/llvm/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/llvm/support/lib/Support/Timer.cpp b/llvm/support/lib/Support/Timer.cpp
index 85114b57f2b..625653afe1a 100644
--- a/llvm/support/lib/Support/Timer.cpp
+++ b/llvm/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";
OpenPOWER on IntegriCloud