remove OSF1 support

This commit is contained in:
chase
2018-05-24 14:50:03 -05:00
committed by Jon Trulson
parent 3c1736f077
commit 164e695cd0
325 changed files with 290 additions and 9980 deletions

View File

@@ -54,8 +54,7 @@
#include <stdlib.h>
#if !defined(__osf__) && !defined(linux) && !defined(CSRG_BASED) && \
!defined(sun)
#if !defined(linux) && !defined(CSRG_BASED) && !defined(sun)
#include <osfcn.h>
#endif

View File

@@ -53,8 +53,7 @@
#include <stdlib.h>
#if !defined(__osf__) && !defined(linux) && \
!defined(CSRG_BASED) && !defined(sun)
#if !defined(linux) && !defined(CSRG_BASED) && !defined(sun)
# include <osfcn.h>
#endif

View File

@@ -43,8 +43,7 @@
#include <stdlib.h>
#if !defined(__osf__) && !defined(linux) && \
!defined(CSRG_BASED) && !defined(sun)
#if !defined(linux) && !defined(CSRG_BASED) && !defined(sun)
#include <osfcn.h>
#endif

View File

@@ -53,31 +53,7 @@
#pragma define (Stack<Rec>)
#endif
#ifdef __osf__
#pragma define_template Stack<int>
#pragma define_template CC_TPtrSlist<CC_String>
#pragma define_template hashTable<CC_String, BTCollectable>
#pragma define_template hashTable<CC_String, int>
#pragma define_template hashTableIterator<CC_String, BTCollectable>
#pragma define_template hashTableIterator<CC_String, int>
#pragma define_template Stack<Rec>
#pragma define_template CC_TValSlist<int>
#pragma define_template CC_TPtrSlist<kv_pair<CC_String, BTCollectable> >
#pragma define_template CC_TPtrSlist<kv_pair<CC_String, int> >
#pragma define_template CC_TValSlist<Rec>
#pragma define_template CC_TValSlistIterator<int>
#pragma define_template CC_TValSlistIterator<Rec>
#pragma define_template kv_pair<CC_String, BTCollectable>
#pragma define_template pointer_vector<CC_TPtrSlist<kv_pair<CC_String, BTCollectable> > >
#pragma define_template kv_pair<CC_String, int>
#pragma define_template pointer_vector<CC_TPtrSlist<kv_pair<CC_String, int> > >
CC_Boolean kv_pair<CC_String, BTCollectable>::f_needRemove = FALSE;
CC_Boolean kv_pair<CC_String, int>::f_needRemove = FALSE;
#endif
#if !defined(__osf__) && !defined(IBMR2)
#if !defined(IBMR2)
typedef Stack<int> _f1_;
typedef CC_TPtrSlist<CC_String> _f2_;
typedef hashTable<CC_String, BTCollectable> _f3_;

View File

@@ -182,11 +182,6 @@ case "$OS" in
LINKTESTFLAG="-l"
;;
OSF1*)
ARCH=osf1
LINKTESTFLAG="-L"
;;
SunOS\ 4.1*)
ARCH=sunos
;;

View File

@@ -37,9 +37,7 @@
#include <string.h>
#include <errno.h>
#include <unistd.h>
#ifndef __osf__
# include <libgen.h> /* for dirname(); DEC has prototype in string.h */
#endif
# include <libgen.h> /* for dirname() */
#include <ctype.h>
#include <signal.h>
#if !defined(CSRG_BASED)

View File

@@ -54,8 +54,7 @@
#include <stdlib.h>
#if !defined(__osf__) && !defined(linux) && \
!defined(CSRG_BASED) && !defined(sun)
#if !defined(linux) && !defined(CSRG_BASED) && !defined(sun)
# include <osfcn.h>
#else
# include <unistd.h>

View File

@@ -42,8 +42,7 @@
#ifdef __cplusplus
#include <stdlib.h>
#if !defined(__osf__) && !defined(linux) && \
!defined(CSRG_BASED) && !defined(sun)
#if !defined(linux) && !defined(CSRG_BASED) && !defined(sun)
#include <osfcn.h>
#endif
@@ -191,8 +190,7 @@ typedef struct yy_buffer_state *YY_BUFFER_STATE;
#define YY_CHAR unsigned char
#define INITIAL 0
#if !defined(__osf__) && !defined(linux) && \
!defined(CSRG_BASED) && !defined(sun)
#if !defined(linux) && !defined(CSRG_BASED) && !defined(sun)
#include <osfcn.h>
#else
#include <unistd.h>

View File

@@ -1,7 +1,7 @@
%{ /* -*- c++ -*- */
/* $XConsortium: lex.l /main/5 1996/11/19 16:55:12 drk $ */
#if !defined(__osf__) && !defined(linux) && !defined(CSRG_BASED)
#if !defined(linux) && !defined(CSRG_BASED)
#include <osfcn.h>
#else
#include <unistd.h>