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>
pull/42/head
Michele Calgaro 2 months ago
parent 51b139e5bf
commit f3df41f3ef
Signed by: MicheleC
GPG Key ID: 2A75B7CA8ADED5CF

@ -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

@ -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.

@ -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

@ -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

Loading…
Cancel
Save