From db280502c514b565950680970c645d139cdeec3c Mon Sep 17 00:00:00 2001 From: Michele Calgaro Date: Fri, 16 Jan 2026 13:06:03 +0900 Subject: [PATCH] Remove support for HPUX, which is discontinued and does not provide a c++17 complaint compiler. Signed-off-by: Michele Calgaro (cherry picked from commit fc0d281dbd31b1d5a15f8a5932dacb1af77ace07) --- 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 f56e44788..f3e9f6a4b 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 5fdfc2ff4..1261d71ba 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 9370233b0..7d8fdffce 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