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

@@ -48,7 +48,7 @@
#ifdef DEBUG
#if !defined ( __STDC__) && !defined (hpux)
#if !defined ( __STDC__)
#define debug(s, x) s << "x" << " = " << (x) << "\n"
#else
#define debug(s, x) s << #x << " = " << (x) << "\n"

View File

@@ -26,7 +26,7 @@
#include <sys/types.h>
#include <unistd.h>
#if !defined(hpux) && !defined(__linux__) && !defined(CSRG_BASED) && !defined(sun)
#if !defined(__linux__) && !defined(CSRG_BASED) && !defined(sun)
#include <sysent.h>
#endif

View File

@@ -741,7 +741,7 @@ Boolean cc_is_digit(istream& in)
unsigned long disk_space(const char* path)
{
#if defined (hpux) || defined (SVR4) || defined(CSRG_BASED)
#if defined (SVR4) || defined(CSRG_BASED)
struct statvfs statfs_buf;
#else
struct statfs statfs_buf;
@@ -749,7 +749,7 @@ unsigned long disk_space(const char* path)
long free_bytes;
#if defined (hpux) || defined (SVR4) || defined(CSRG_BASED)
#if defined (SVR4) || defined(CSRG_BASED)
if ( statvfs(path, &statfs_buf) == 0 ) {
free_bytes = statfs_buf.f_bavail * statfs_buf.f_frsize ;
#else

View File

@@ -55,8 +55,7 @@
#if !defined(__linux__) && !defined(CSRG_BASED) && !defined(sun)
#include <libc.h>
#endif
#if defined(hpux) || defined(sgi) || \
defined(__linux__) || defined(CSRG_BASED) || defined(sun)
#if defined(__linux__) || defined(CSRG_BASED) || defined(sun)
#include <unistd.h>
#else
#include <sysent.h>