summaryrefslogtreecommitdiffstats
path: root/tdecore
diff options
context:
space:
mode:
authorMichele Calgaro <michele.calgaro@yahoo.it>2026-01-16 16:17:53 +0900
committerMichele Calgaro <michele.calgaro@yahoo.it>2026-01-16 16:17:53 +0900
commit33ce240b40b1fde502b0f6b3e5fb4b50113dae99 (patch)
tree5ee97bde76624ebe1b0d0d866c207dedd1a15580 /tdecore
parente0345f8f9b6742e10b54187f915a784d5fd385bc (diff)
downloadtdelibs-drop/hpux-support.tar.gz
tdelibs-drop/hpux-support.zip
Remove support for HPUX, which is discontinued and does not provide a c++17 complaint compiler.drop/hpux-support
Signed-off-by: Michele Calgaro <michele.calgaro@yahoo.it>
Diffstat (limited to 'tdecore')
-rw-r--r--tdecore/kpty.cpp13
-rw-r--r--tdecore/netsupp.cpp4
2 files changed, 3 insertions, 14 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;
diff --git a/tdecore/netsupp.cpp b/tdecore/netsupp.cpp
index 0ea43178d..25f73d0c5 100644
--- a/tdecore/netsupp.cpp
+++ b/tdecore/netsupp.cpp
@@ -45,10 +45,6 @@
#undef CLOBBER_IN6
#include "netsupp.h"
-#if defined(__hpux) || defined(_HPUX_SOURCE)
-extern int h_errno;
-#endif
-
#include <tdemacros.h>
#if !defined(kde_sockaddr_in6)