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

@@ -25,10 +25,6 @@
#define DO_NOT_NEED_NOW
#endif
#ifndef _HPUX_SOURCE
#define _HPUX_SOURCE
#endif
#include <stdio.h>
#include <fcntl.h>
#include <sys/ioctl.h>

View File

@@ -40,10 +40,6 @@
/* If the following heuristic fails, compile -DBSD=0 for non-BSD systems,
or -DBSD=1 for BSD systems. */
#ifdef M_XENIX
# define BSD 0
#endif
#ifdef FILE /* a #define in BSD, a typedef in SYSV (hp-ux, at least) */
# ifndef BSD /* (a convenient, but horrible kludge!) */
# define BSD 1
@@ -115,12 +111,6 @@ typedef struct __p2c_jmp_buf {
#ifdef M_XENIX /* avoid compiler bug */
# define SHORT_MAX (32767)
# define SHORT_MIN (-32768)
#endif
/* The following definitions work only on twos-complement machines */
#ifndef SHORT_MAX
# define SHORT_MAX (((unsigned short) -1) >> 1)