Discontinue HPUX support
This commit is contained in:
@@ -63,7 +63,7 @@
|
||||
#include <sys/stat.h>
|
||||
#include <sys/param.h>
|
||||
#include <sys/uio.h>
|
||||
#if !defined(__aix) && !defined(__hpux) && !defined(__linux__) && !defined(CSRG_BASED)
|
||||
#if !defined(__aix) && !defined(__linux__) && !defined(CSRG_BASED)
|
||||
#include <sys/systeminfo.h>
|
||||
#endif
|
||||
#include <sys/wait.h>
|
||||
@@ -95,9 +95,7 @@ extern "C" {
|
||||
|
||||
#if defined(sun)
|
||||
#define LCL_SIG_HANDLER_SIGNATURE
|
||||
#elif defined(__hpux)
|
||||
#define LCL_SIG_HANDLER_SIGNATURE __harg
|
||||
#elif defined(__aix) || defined(__alpha) || defined(__linux__) || defined(CSRG_BASED)
|
||||
#elif defined(__aix) || defined(__linux__) || defined(CSRG_BASED)
|
||||
#define LCL_SIG_HANDLER_SIGNATURE int
|
||||
#endif
|
||||
|
||||
|
||||
@@ -975,7 +975,7 @@ RFCTransport::signalRegister(void)
|
||||
if (initialized) return;
|
||||
initialized = 1;
|
||||
|
||||
#if defined(hpux) || defined(_aix) || defined(__linux__) || \
|
||||
#if defined(_aix) || defined(__linux__) || \
|
||||
(defined(sun) && OSMAJORVERSION>=5 && OSMINORVERSION>4) || defined(CSRG_BASED)
|
||||
// SunOS 5.5 and above defined prototype for signal handler
|
||||
act.sa_handler = (void (*)(int))&RFCTransport::childHandler;
|
||||
|
||||
@@ -57,8 +57,6 @@
|
||||
*/
|
||||
#if defined(SunOS)
|
||||
#include <stropts.h>
|
||||
#elif defined(HPUX)
|
||||
#include <sys/poll.h>
|
||||
#elif defined(_AIX) || defined(__linux__)
|
||||
#define INFTIM (-1) /* Infinite timeout */
|
||||
#endif
|
||||
|
||||
Reference in New Issue
Block a user