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

@@ -40,11 +40,11 @@
#ifdef __hpux
#include <ndir.h> /* opendir(), directory(3C) */
#else
#if defined(sun) || defined(USL) || defined(sco)
#if defined(sun)
#include <dirent.h> /* opendir(), directory(3C) */
#else
#include <sys/dir.h>
#endif /* sun || USL */
#endif /* sun */
#endif /* __hpux */
#include <X11/Xlib.h>

View File

@@ -45,11 +45,6 @@
#include <langinfo.h>
#include <Dt/Collate.h>
#ifdef sco /* XPG4isms coming soon */
#ifndef _NL_DIRECT
#define _NL_DIRECT
typedef int nl_direct;
#endif
#ifndef _NL_ORDER
#define _NL_ORDER
typedef int nl_order;

View File

@@ -38,7 +38,7 @@
#ifdef __hpux
#include <ndir.h>
#else
#if defined(sun) || defined(USL) || defined(sco)
#if defined(sun)
#include <dirent.h>
#else
#include <sys/dir.h>

View File

@@ -54,7 +54,7 @@ $END$
#endif
#include <langinfo.h>
#if defined(sun) || defined(USL)
#if defined(sun)
#include <regexpr.h> /* for compile,advance */
#else
#include <regex.h> /* for regcomp,regexec */
@@ -125,7 +125,7 @@ typedef enum {
__DtXLATE_TYPE_CONTAINS = 4
} __DtXlateType;
#if defined(sun) || defined(USL)
#if defined(sun)
/* Sun doesn't support regcomp() and regexec() yet, so
define this here and fill it will the results of advance() */
typedef struct regmatch_t {
@@ -1127,7 +1127,7 @@ Boolean CheckSearchOpValueMatchesSpec(
value or do a pure match */
if (srchData->curTransType == __DtXLATE_TYPE_REGEX)
{
#if defined(sun) || defined(USL)
#if defined(sun)
char * ex = NULL;
/* True: leave escape char in place */
@@ -2199,7 +2199,7 @@ int _DtXlateGetXlateEnv(
/* then look up version number of execution host */
if (ret_AppExecEnvVersion)
{
#if defined(sun) || defined(_AIX) || defined(USL) || defined(__osf__) || defined(linux) || defined(CSRG_BASED)
#if defined(sun) || defined(_AIX) || defined(__osf__) || defined(linux) || defined(CSRG_BASED)
char version[SYS_NMLN+SYS_NMLN+2];
#else
char version[UTSLEN+UTSLEN+2];

View File

@@ -126,8 +126,6 @@ platforms as part of a translation.
#define _DtPLATFORM_AIX "AIX"
#define _DtPLATFORM_SUNOS "SunOS"
#define _DtPLATFORM_SOLARIS "Solaris" /* verify */
#define _DtPLATFORM_USL "USL" /* verify */
#define _DtPLATFORM_SCO "SCO" /* verify */
#define _DtPLATFORM_XENIX "Xenix" /* verify */
/*$END$*/