summaryrefslogtreecommitdiff
path: root/lib/Output.cc
diff options
context:
space:
mode:
Diffstat (limited to 'lib/Output.cc')
-rw-r--r--lib/Output.cc4
1 files changed, 4 insertions, 0 deletions
diff --git a/lib/Output.cc b/lib/Output.cc
index 296510d..e9016f9 100644
--- a/lib/Output.cc
+++ b/lib/Output.cc
@@ -76,7 +76,9 @@ String Output::GetName() const {
return n;
}
+#ifdef HOOK_STDS
Stdout_t::Stdout_t() {}
+#endif
bool Stdout_t::CanSeek() const {
return 0;
@@ -86,7 +88,9 @@ 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;