Remove Unixware and openserver support

This commit is contained in:
chase
2018-05-19 19:50:35 -05:00
committed by Jon Trulson
parent beea573d17
commit 07900bd93b
375 changed files with 725 additions and 9112 deletions

View File

@@ -46,13 +46,6 @@
#include <string.h>
#ifdef __osf__
#include <stdlib.h>
#else
#if defined(USL) && (OSMAJORVERSION == 2)
extern "C" {
#endif
#if defined(USL) && (OSMAJORVERSION == 2)
};
#endif
#endif // __osf__
#include <stdio.h>
#include <stdlib.h>

View File

@@ -152,7 +152,7 @@ struct cmd cmdtab[] = {
#define SYSTEM_MAILRC "/etc/mail/mail.rc"
#elif defined(_AIX) || defined(__osf__) || defined(linux)
#define SYSTEM_MAILRC "/usr/share/lib/Mail.rc"
#elif defined(USL) || defined(__hpux)
#elif defined(__hpux)
#define SYSTEM_MAILRC "/usr/share/lib/mailx.rc"
#elif defined(CSRG_BASED)
#define SYSTEM_MAILRC "/etc/mail.rc"

View File

@@ -160,7 +160,7 @@ DtMailServer::set_password(char *password)
//
// len - Length of message.
//
#if defined(reallyoldsun) || defined(USL)
#if defined(reallyoldsun)
#define SA_HANDLER_TYPE void (*)(void)
#else
#define SA_HANDLER_TYPE void (*)(int)

View File

@@ -51,7 +51,7 @@
/*
** file included for INFTIM
*/
#if defined(SunOS) || defined(USL)
#if defined(SunOS)
#include <stropts.h>
#elif defined(HPUX)
#include <sys/poll.h>

View File

@@ -86,12 +86,6 @@
#include <stdlib.h>
#include <unistd.h>
#if defined(USL) && (OSMAJORVERSION == 2)
extern "C" {
#endif
#if defined(USL) && (OSMAJORVERSION == 2)
};
#endif
#include <string.h>
#include <pwd.h>
#include <sys/socket.h>