Discontinue HPUX support
This commit is contained in:
@@ -49,16 +49,7 @@
|
||||
#include <DtMail/DtMailError.hh>
|
||||
#include <DtMail/Common.h>
|
||||
#include <Dt/MsgCatP.h>
|
||||
|
||||
#include <syslog.h>
|
||||
|
||||
#if defined(HPUX) && !defined(hpV4)
|
||||
// HP-UX 9.* syslog.h does not define these.
|
||||
//
|
||||
extern "C" int syslog(int, const char *, ...);
|
||||
extern "C" int openlog(const char *, int, int);
|
||||
#endif
|
||||
|
||||
#include <EUSDebug.hh>
|
||||
|
||||
// Provide interface to the DtSvc function DtSimpleError
|
||||
|
||||
@@ -147,8 +147,6 @@ struct cmd cmdtab[] = {
|
||||
#define SYSTEM_MAILRC "/etc/mail/mail.rc"
|
||||
#elif defined(_AIX) || defined(__linux__)
|
||||
#define SYSTEM_MAILRC "/usr/share/lib/Mail.rc"
|
||||
#elif defined(__hpux)
|
||||
#define SYSTEM_MAILRC "/usr/share/lib/mailx.rc"
|
||||
#elif defined(CSRG_BASED)
|
||||
#define SYSTEM_MAILRC "/etc/mail.rc"
|
||||
#endif
|
||||
|
||||
@@ -331,11 +331,7 @@ DtMailServer::do_send(char *fmt, ... )
|
||||
//
|
||||
// Assemble command in printf(3) style, send to server, accept a response.
|
||||
//
|
||||
#if defined(__hpux)
|
||||
#define DTMAS_COMMAND_TERMINATOR "\n"
|
||||
#else
|
||||
#define DTMAS_COMMAND_TERMINATOR "\r\n"
|
||||
#endif
|
||||
DTMailError_t
|
||||
DtMailServer::do_transaction(char *fmt, ... )
|
||||
{
|
||||
@@ -829,11 +825,7 @@ restoreSignal:
|
||||
//
|
||||
// Reset the nonresponse-timeout
|
||||
//
|
||||
#if defined(__hpux)
|
||||
#define TV_USEC_TYPE long
|
||||
#else
|
||||
#define TV_USEC_TYPE int
|
||||
#endif
|
||||
void
|
||||
DtMailServer::vtalarm_setitimer(int timeout_seconds)
|
||||
{
|
||||
|
||||
@@ -189,7 +189,6 @@ HashTableImpl::remove(ObjectKey & key)
|
||||
return(removed_val);
|
||||
}
|
||||
|
||||
#if !defined(HPUX)
|
||||
void
|
||||
HashTableImpl::forEach(HashImplIterator iterator, void * client_data)
|
||||
{
|
||||
@@ -210,4 +209,3 @@ HashTableImpl::forEach(HashImplIterator iterator, void * client_data)
|
||||
}
|
||||
}
|
||||
}
|
||||
#endif
|
||||
|
||||
@@ -53,8 +53,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