summaryrefslogtreecommitdiff
path: root/lib/Output.cc
diff options
context:
space:
mode:
authorpixel <pixel>2003-01-22 17:49:13 +0000
committerpixel <pixel>2003-01-22 17:49:13 +0000
commit7bc2475e3b7e051278072821766160234a33b96e (patch)
tree3160ccd3b3f8f9a3252fd460d7fc22b3fff0ef51 /lib/Output.cc
parent4c8f2ee73fc063871bdac980a135417882e1eb73 (diff)
homygod (bis)
Diffstat (limited to 'lib/Output.cc')
-rw-r--r--lib/Output.cc6
1 files changed, 2 insertions, 4 deletions
diff --git a/lib/Output.cc b/lib/Output.cc
index e9016f9..811918c 100644
--- a/lib/Output.cc
+++ b/lib/Output.cc
@@ -76,9 +76,7 @@ String Output::GetName() const {
return n;
}
-#ifdef HOOK_STDS
Stdout_t::Stdout_t() {}
-#endif
bool Stdout_t::CanSeek() const {
return 0;
@@ -88,9 +86,7 @@ String Stdout_t::GetName() const {
return "Stdout";
}
-#ifdef HOOK_STDS
Stderr_t::Stderr_t() : Handle(dup(2)) {}
-#endif
bool Stderr_t::CanWrite() const {
return 1;
@@ -108,5 +104,7 @@ String Stderr_t::GetName() const {
return "Stderr";
}
+#ifdef HOOK_STDS
Stdout_t Stdout;
Stderr_t Stderr;
+#endif