From fc0d281dbd31b1d5a15f8a5932dacb1af77ace07 Mon Sep 17 00:00:00 2001
From: Michele Calgaro <michele.calgaro@yahoo.it>
Date: Fri, 16 Jan 2026 13:06:03 +0900
Subject: Remove support for HPUX, which is discontinued and does not provide a
 c++17 complaint compiler.

Signed-off-by: Michele Calgaro <michele.calgaro@yahoo.it>
---
 kexi/3rdparty/kexisql/src/os.h       | 5 -----
 kexi/3rdparty/kexisql3/src/os_unix.h | 5 -----
 kpresenter/KPrView.cpp               | 4 ++--
 3 files changed, 2 insertions(+), 12 deletions(-)

diff --git a/kexi/3rdparty/kexisql/src/os.h b/kexi/3rdparty/kexisql/src/os.h
index f56e4478..f3e9f6a4 100644
--- a/kexi/3rdparty/kexisql/src/os.h
+++ b/kexi/3rdparty/kexisql/src/os.h
@@ -17,11 +17,6 @@
 #ifndef _SQLITE_OS_H_
 #define _SQLITE_OS_H_
 
-/*
-** Helpful hint:  To get this to compile on HP/UX, add -D_INCLUDE_POSIX_SOURCE
-** to the compiler command line.
-*/
-
 /*
 ** These #defines should enable >2GB file support on Posix if the
 ** underlying operating system supports it.  If the OS lacks
diff --git a/kexi/3rdparty/kexisql3/src/os_unix.h b/kexi/3rdparty/kexisql3/src/os_unix.h
index 5fdfc2ff..1261d71b 100644
--- a/kexi/3rdparty/kexisql3/src/os_unix.h
+++ b/kexi/3rdparty/kexisql3/src/os_unix.h
@@ -15,11 +15,6 @@
 #ifndef _SQLITE_OS_UNIX_H_
 #define _SQLITE_OS_UNIX_H_
 
-/*
-** Helpful hint:  To get this to compile on HP/UX, add -D_INCLUDE_POSIX_SOURCE
-** to the compiler command line.
-*/
-
 /*
 ** These #defines should enable >2GB file support on Posix if the
 ** underlying operating system supports it.  If the OS lacks
diff --git a/kpresenter/KPrView.cpp b/kpresenter/KPrView.cpp
index e35f1966..8fcab948 100644
--- a/kpresenter/KPrView.cpp
+++ b/kpresenter/KPrView.cpp
@@ -215,14 +215,14 @@ Bool DPMSCapable( Display * );
 #endif
 }
 
-#if defined(XIMStringConversionRetrival) || defined (__sun) || defined(__hpux)
+#if defined(XIMStringConversionRetrival) || defined (__sun)
 extern "C" {
 #endif
     Bool DPMSQueryExtension(Display *, int *, int *);
     Status DPMSEnable(Display *);
     Status DPMSDisable(Display *);
     Bool DPMSGetTimeouts(Display *, CARD16 *, CARD16 *, CARD16 *);
-#if defined(XIMStringConversionRetrival) || defined (__sun) || defined(__hpux)
+#if defined(XIMStringConversionRetrival) || defined (__sun)
 }
 #endif
 #endif
-- 
cgit v1.2.3

