summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorMichele Calgaro <michele.calgaro@yahoo.it>2026-01-16 11:11:50 +0900
committerMichele Calgaro <michele.calgaro@yahoo.it>2026-01-16 11:11:50 +0900
commitdd62b8c579c31bf81804c22dfbf7a6cc71ee80de (patch)
tree65032b293550e2fed6aa092c1b87b4e1f29557db
parentabb122aec2cbaeb2010b9c1343ab41a90d0472d8 (diff)
downloaddigikam-drop/hpux-support.tar.gz
digikam-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>
-rw-r--r--src/imageplugins/coreplugin/sharpnesseditor/clapack/err.c2
-rw-r--r--src/imageplugins/coreplugin/sharpnesseditor/clapack/util.c2
-rw-r--r--src/libs/sqlite2/os.h5
-rw-r--r--src/libs/sqlite3/sqlite3.c4
4 files changed, 1 insertions, 12 deletions
diff --git a/src/imageplugins/coreplugin/sharpnesseditor/clapack/err.c b/src/imageplugins/coreplugin/sharpnesseditor/clapack/err.c
index 90af7cae..60f31013 100644
--- a/src/imageplugins/coreplugin/sharpnesseditor/clapack/err.c
+++ b/src/imageplugins/coreplugin/sharpnesseditor/clapack/err.c
@@ -1,6 +1,4 @@
#ifndef NON_UNIX_STDIO
-#define _INCLUDE_POSIX_SOURCE /* for HP-UX */
-#define _INCLUDE_XOPEN_SOURCE /* for HP-UX */
#include "sys/types.h"
#include "sys/stat.h"
#endif
diff --git a/src/imageplugins/coreplugin/sharpnesseditor/clapack/util.c b/src/imageplugins/coreplugin/sharpnesseditor/clapack/util.c
index 684cdfc4..2546b4d5 100644
--- a/src/imageplugins/coreplugin/sharpnesseditor/clapack/util.c
+++ b/src/imageplugins/coreplugin/sharpnesseditor/clapack/util.c
@@ -1,6 +1,4 @@
#ifndef NON_UNIX_STDIO
-#define _INCLUDE_POSIX_SOURCE /* for HP-UX */
-#define _INCLUDE_XOPEN_SOURCE /* for HP-UX */
#include "sys/types.h"
#include "sys/stat.h"
#endif
diff --git a/src/libs/sqlite2/os.h b/src/libs/sqlite2/os.h
index f56e4478..f3e9f6a4 100644
--- a/src/libs/sqlite2/os.h
+++ b/src/libs/sqlite2/os.h
@@ -18,11 +18,6 @@
#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
** large file support, or if the OS is windows, these should be no-ops.
diff --git a/src/libs/sqlite3/sqlite3.c b/src/libs/sqlite3/sqlite3.c
index 87195d9a..d1eae566 100644
--- a/src/libs/sqlite3/sqlite3.c
+++ b/src/libs/sqlite3/sqlite3.c
@@ -13493,9 +13493,7 @@ SQLITE_API void sqlite3_mutex_leave(sqlite3_mutex *p){
** deliver incorrect results. In particular, if pthread_equal() is
** not an atomic operation, then these routines might delivery
** incorrect results. On most platforms, pthread_equal() is a
-** comparison of two integers and is therefore atomic. But we are
-** told that HPUX is not such a platform. If so, then these routines
-** will not always work correctly on HPUX.
+** comparison of two integers and is therefore atomic.
**
** On those platforms where pthread_equal() is not atomic, SQLite
** should be compiled without -DSQLITE_DEBUG and with -DNDEBUG to