aboutsummaryrefslogtreecommitdiffstats
path: root/support
diff options
context:
space:
mode:
authorChris Lattner <sabre@nondot.org>2003-06-06 23:06:20 +0000
committerChris Lattner <sabre@nondot.org>2003-06-06 23:06:20 +0000
commit1cb65f2d6202bbfcea0a764ab1356cb574ef4d20 (patch)
tree6d5eee81a69063c2ad8a2decc41f24e622aec035 /support
parent903c2d11e2dfadaaa7c04c2e46bac62d82e7ed15 (diff)
downloadexternal_llvm-1cb65f2d6202bbfcea0a764ab1356cb574ef4d20.zip
external_llvm-1cb65f2d6202bbfcea0a764ab1356cb574ef4d20.tar.gz
external_llvm-1cb65f2d6202bbfcea0a764ab1356cb574ef4d20.tar.bz2
Old versions of GCC doesn't have <ostream> :(
git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@6661 91177308-0d34-0410-b5e6-96231b3b80d8
Diffstat (limited to 'support')
-rw-r--r--support/tools/TableGen/CodeEmitterGen.cpp1
-rw-r--r--support/tools/TableGen/CodeEmitterGen.h2
2 files changed, 1 insertions, 2 deletions
diff --git a/support/tools/TableGen/CodeEmitterGen.cpp b/support/tools/TableGen/CodeEmitterGen.cpp
index 293d1ae..c32fd4b 100644
--- a/support/tools/TableGen/CodeEmitterGen.cpp
+++ b/support/tools/TableGen/CodeEmitterGen.cpp
@@ -1,6 +1,5 @@
#include "Record.h"
#include "CodeEmitterGen.h"
-#include <ostream>
void CodeEmitterGen::createEmitter(std::ostream &o) {
std::vector<Record*> Insts;
diff --git a/support/tools/TableGen/CodeEmitterGen.h b/support/tools/TableGen/CodeEmitterGen.h
index 18ebcd4..098816a 100644
--- a/support/tools/TableGen/CodeEmitterGen.h
+++ b/support/tools/TableGen/CodeEmitterGen.h
@@ -7,7 +7,7 @@
#define CODEMITTERGEN_H
#include "Record.h"
-#include <ostream>
+#include <iostream>
struct CodeEmitterGen {
RecordKeeper &Records;