Remove Unixware and openserver support
This commit is contained in:
@@ -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 *);
|
||||
|
||||
@@ -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
|
||||
|
||||
@@ -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)
|
||||
|
||||
@@ -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);
|
||||
|
||||
@@ -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"
|
||||
|
||||
|
||||
Reference in New Issue
Block a user