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

@@ -44,7 +44,7 @@
#include <stdlib.h>
#ifdef hpux
#include <time.h>
#elif defined(USL) || defined(__osf__) || defined(linux)
#elif defined(__osf__) || defined(linux)
#include <sys/time.h>
#else
#include <sys/select.h>
@@ -53,7 +53,7 @@
#include <strings.h> /* need to get bzero defined */
#endif /* _AIX */
#if defined(aix) || defined(USL)
#if defined(aix)
extern "C"
{
extern int strcasecmp(const char *, const char *);

View File

@@ -35,7 +35,7 @@
#ifndef _BOOLEAN_
#define _BOOLEAN_
#if (defined(sun) && OSMAJORVERSION <= 5 && OSMINORVERSION <= 3)|| defined(USL)
#if (defined(sun) && OSMAJORVERSION <= 5 && OSMINORVERSION <= 3)
#include <sys/types.h>
#define boolean boolean_t
#define true B_TRUE

View File

@@ -35,12 +35,7 @@
#include <Xm/List.h>
#include <Xm/ComboBox.h>
ComboBoxObj::ComboBoxObj(MotifUI *parent,
#if defined(USL)
void (*callback)(ComboBoxObj *, char *, int),
#else
ComboBoxCallback callback,
#endif
ComboBoxObj::ComboBoxObj(MotifUI *parent, ComboBoxCallback callback,
char *name,
char **items,
int n_items)

View File

@@ -52,13 +52,8 @@ class ComboBoxObj : public MotifUI {
public:
#if defined(USL)
ComboBoxObj(MotifUI * parent, void (*)(ComboBoxObj *, char *, int),
char *name, char **items, int n_items);
#else
ComboBoxObj(MotifUI * parent, ComboBoxCallback, char *name,
char **items, int n_items);
#endif
void Add(char *item);
void Delete(char *item);

View File

@@ -33,10 +33,6 @@
#include <Xm/Xm.h>
#if defined(USL)
#undef STRDUP /* get rid of memutil.h definition. Use def in BaseUI.h. */
#endif
#include "BaseUI.h"
#include "MotifThread.h"