summaryrefslogtreecommitdiffstats
path: root/tdecore/kpty.cpp
diff options
context:
space:
mode:
Diffstat (limited to 'tdecore/kpty.cpp')
-rw-r--r--tdecore/kpty.cpp13
1 files changed, 3 insertions, 10 deletions
diff --git a/tdecore/kpty.cpp b/tdecore/kpty.cpp
index d801b7c9a..cb3cc6b9a 100644
--- a/tdecore/kpty.cpp
+++ b/tdecore/kpty.cpp
@@ -79,8 +79,6 @@
#endif
#ifdef HAVE_TERMIOS_H
-/* for HP-UX (some versions) the extern C is needed, and for other
- platforms it doesn't hurt */
extern "C" {
# include <termios.h>
}
@@ -111,11 +109,6 @@ extern "C" {
# error
#endif
-#if defined (_HPUX_SOURCE)
-# define _TERMIOS_INCLUDED
-# include <bsdtty.h>
-#endif
-
#if defined(HAVE_PTY_H)
# include <pty.h>
#endif
@@ -273,7 +266,7 @@ bool KPty::_attachPty(int pty_master)
#endif
// set xon/xoff & control keystrokes
- // without the '::' some version of HP-UX thinks, this declares
+ // without the '::' some old system thinks, this declares
// the struct in this class, in this method, and fails to find
// the correct tc[gs]etattr
struct ::termios ttmode;
@@ -537,7 +530,7 @@ void KPty::setXonXoff(bool useXonXoff)
{
d->xonXoff = useXonXoff;
if (d->masterFd >= 0) {
- // without the '::' some version of HP-UX thinks, this declares
+ // without the '::' some old system thinks, this declares
// the struct in this class, in this method, and fails to find
// the correct tc[gs]etattr
struct ::termios ttmode;
@@ -558,7 +551,7 @@ void KPty::setUtf8Mode(bool useUtf8)
d->utf8 = useUtf8;
#ifdef IUTF8
if (d->masterFd >= 0) {
- // without the '::' some version of HP-UX thinks, this declares
+ // without the '::' some old system thinks, this declares
// the struct in this class, in this method, and fails to find
// the correct tc[gs]etattr
struct ::termios ttmode;