diff options
| author | Michele Calgaro <michele.calgaro@yahoo.it> | 2026-01-16 12:57:46 +0900 |
|---|---|---|
| committer | Michele Calgaro <michele.calgaro@yahoo.it> | 2026-01-16 12:57:46 +0900 |
| commit | f3df41f3efde0626cada3a99671ff17627a4a0fe (patch) | |
| tree | 6f64f3026621c2c05968db8bc1ae7d1f083435c3 | |
| parent | 51b139e5bf4e00cf06dbe81c984592c1065e4706 (diff) | |
| download | kmplayer-drop/hpux-support.tar.gz kmplayer-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/moz-sdk/npapi.h | 1 | ||||
| -rw-r--r-- | src/moz-sdk/nptypes.h | 2 | ||||
| -rw-r--r-- | src/moz-sdk/obsolete/protypes.h | 14 | ||||
| -rw-r--r-- | src/moz-sdk/prtypes.h | 4 |
4 files changed, 5 insertions, 16 deletions
diff --git a/src/moz-sdk/npapi.h b/src/moz-sdk/npapi.h index 8998ba5..fa5bc36 100644 --- a/src/moz-sdk/npapi.h +++ b/src/moz-sdk/npapi.h @@ -49,7 +49,6 @@ #include "prtypes.h" /* Copied from xp_core.h */ -/* removed #ifdef for hpux defined in /usr/include/model.h */ #ifndef XP_MAC #ifndef _INT16 #define _INT16 diff --git a/src/moz-sdk/nptypes.h b/src/moz-sdk/nptypes.h index fbe6bd7..8307c26 100644 --- a/src/moz-sdk/nptypes.h +++ b/src/moz-sdk/nptypes.h @@ -47,7 +47,7 @@ */ typedef int int32_t; typedef unsigned int uint32_t; -#elif defined(_AIX) || defined(__sun) || defined(IRIX) || defined(HPUX) +#elif defined(_AIX) || defined(__sun) || defined(IRIX) /* * AIX and SunOS ship a inttypes.h header that defines [u]int32_t, * but not bool for C. diff --git a/src/moz-sdk/obsolete/protypes.h b/src/moz-sdk/obsolete/protypes.h index 11a6c78..c5f8ca7 100644 --- a/src/moz-sdk/obsolete/protypes.h +++ b/src/moz-sdk/obsolete/protypes.h @@ -85,11 +85,6 @@ typedef PRIntn intn; #include <sys/types.h> #endif -/* model.h on HP-UX defines int8, int16, and int32. */ -#ifdef HPUX -#include <model.h> -#endif - /* * uint */ @@ -149,8 +144,7 @@ typedef PRInt64 int64; */ #if !defined(XP_BEOS) && !defined(VMS) \ - && !defined(_PR_AIX_HAVE_BSD_INT_TYPES) \ - && !defined(HPUX) + && !defined(_PR_AIX_HAVE_BSD_INT_TYPES) #if !defined(XP_MAC) && !defined(_WIN32) && !defined(XP_OS2) && !defined(NTO) typedef PRInt32 int32; #else @@ -163,8 +157,7 @@ typedef long int32; */ #if !defined(XP_BEOS) && !defined(VMS) \ - && !defined(_PR_AIX_HAVE_BSD_INT_TYPES) \ - && !defined(HPUX) + && !defined(_PR_AIX_HAVE_BSD_INT_TYPES) typedef PRInt16 int16; #endif @@ -173,8 +166,7 @@ typedef PRInt16 int16; */ #if !defined(XP_BEOS) && !defined(VMS) \ - && !defined(_PR_AIX_HAVE_BSD_INT_TYPES) \ - && !defined(HPUX) + && !defined(_PR_AIX_HAVE_BSD_INT_TYPES) typedef PRInt8 int8; #endif diff --git a/src/moz-sdk/prtypes.h b/src/moz-sdk/prtypes.h index d1d4f79..b4bd315 100644 --- a/src/moz-sdk/prtypes.h +++ b/src/moz-sdk/prtypes.h @@ -272,9 +272,7 @@ typedef unsigned char PRUint8; ** For these compilers, we have to define PRInt8 as plain 'char'. ** Make sure that plain 'char' is indeed signed under these compilers. */ -#if (defined(HPUX) && defined(__cplusplus) \ - && !defined(__GNUC__) && __cplusplus < 199707L) \ - || (defined(SCO) && defined(__cplusplus) \ +#if (defined(SCO) && defined(__cplusplus) \ && !defined(__GNUC__) && __cplusplus == 1L) typedef char PRInt8; #else |
