summaryrefslogtreecommitdiff
path: root/ace/TTY_IO.cpp
diff options
context:
space:
mode:
Diffstat (limited to 'ace/TTY_IO.cpp')
-rw-r--r--ace/TTY_IO.cpp3
1 files changed, 2 insertions, 1 deletions
diff --git a/ace/TTY_IO.cpp b/ace/TTY_IO.cpp
index 27730bf509f..ac8d1cd2871 100644
--- a/ace/TTY_IO.cpp
+++ b/ace/TTY_IO.cpp
@@ -224,8 +224,9 @@ ACE_TTY_IO::control (Control_Mode cmd,
#endif /* ACE_HAS_TERM_IOCTLS */
}
+#if defined (ACE_NEEDS_DEV_IO_CONVERSION)
ACE_TTY_IO::operator ACE_DEV_IO &()
{
return (ACE_DEV_IO &) *this;
}
-
+#endif /* ACE_NEEDS_DEV_IO_CONVERSION */