Remove UXPDS support

This commit is contained in:
chase
2018-05-15 20:11:08 -05:00
committed by Jon Trulson
parent 0f8233dadd
commit 8a4f389634
319 changed files with 317 additions and 8776 deletions

View File

@@ -39,7 +39,7 @@
#if !defined(linux) && !defined(CSRG_BASED) && !defined(sun)
#include <generic.h>
#endif
#if defined(USL) || defined(__uxp__) || defined(__osf__) || defined(sun) || defined(linux) || defined(CSRG_BASED)
#if defined(USL) || defined(__osf__) || defined(sun) || defined(linux) || defined(CSRG_BASED)
#define _DELETE_ARRAY(sz) delete[]
#else
#define _DELETE_ARRAY(sz) delete[(sz)]

View File

@@ -32,7 +32,7 @@
#ifndef __MBSTRING_H_
#define __MBSTRING_H_
#if defined(USL) || defined(__uxp__)
#if defined(USL)
#include <stdlib.h>
#endif

View File

@@ -125,14 +125,14 @@ extern size_t nl_strlen(); /* __OBSOLETE */
#if defined(__cplusplus)
}
#if defined(apollo) || defined(__aix) || defined(USL) || defined(__uxp__) || defined(__osf__) || defined(linux) || defined(CSRG_BASED)
#if defined(apollo) || defined(__aix) || defined(USL) || defined(__osf__) || defined(linux) || defined(CSRG_BASED)
#include <stdlib.h>
#else
#include <malloc.h>
#endif /* apollo */
inline char *strnew(size_t len) { return (char*)malloc(len + 1); }
#if defined(sun) || defined(__sun) || defined(USL) || defined(__uxp__)
#if defined(sun) || defined(__sun) || defined(USL)
inline void strfree(const char *s)
{ if (s != NULL) free((char *)s); }
#else