Discontinue HPUX support

This commit is contained in:
Chase
2022-07-22 21:42:06 -05:00
committed by Jon Trulson
parent bd83b53d56
commit edf4319548
235 changed files with 198 additions and 6290 deletions

View File

@@ -92,7 +92,7 @@ extern void unhide_hft_ring();
#include <sys/time.h>
#define passwd spwd
#define pw_passwd sp_pwdp
#if defined(AIXV3) || defined(hpux)
#if defined(AIXV3)
#undef NULL
#define NULL 0
#include <sys/poll.h>
@@ -111,7 +111,7 @@ struct passwd {
#include <shadow.h>
#define getpwnam getspnam
#endif
#if !(defined(_AIX) || defined(hpux) || defined(sun))
#if !(defined(_AIX) || defined(sun))
# define srandom srand
# define random rand
# define MAXRAND (32767.0)

View File

@@ -41,7 +41,7 @@
#include "dtscreen.h"
#if !defined(_AIX) && !defined(hpV4) && !defined(__linux__) && !defined(sun) && !defined(CSRG_BASED)
#if !defined(_AIX) && !defined(__linux__) && !defined(sun) && !defined(CSRG_BASED)
int
usleep(unsigned long usec)
{
@@ -55,7 +55,7 @@ usleep(unsigned long usec)
#endif
return 0;
}
#endif /* !_AIX && !hpV4*/
#endif /* !_AIX && */
/*
* returns the number of seconds since 01-Jan-70.