Discontinue HPUX support
This commit is contained in:
@@ -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>
|
||||
|
||||
@@ -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)
|
||||
|
||||
Reference in New Issue
Block a user