mirror of
https://github.com/Interlisp/maiko.git
synced 2026-01-27 12:22:24 +00:00
Remove OSF1 / DEC3100 platform support. (#36)
This also removes support for the DEC3100 keyboard, but leaves a constant behind for it as I'm not sure about re-numbering. [NBriggs: keyboard type numbers are stored within all sysouts. Do not renumber supported keyboards, do not reuse previously used keyboard numbers]
This commit is contained in:
@@ -67,11 +67,6 @@ volatile extern int FP_error;
|
||||
#define FPCLEAR
|
||||
#define FPTEST(result) (isinf(result) || isnan(result))
|
||||
|
||||
#elif defined(OSF1)
|
||||
#include <fp.h>
|
||||
#define FPCLEAR
|
||||
#define FPTEST(result) (!FINITE(result))
|
||||
|
||||
#elif defined(AIX)
|
||||
#define FPCLEAR
|
||||
#define FPTEST(result) ((!finite(result)) || isnan(result))
|
||||
|
||||
@@ -188,13 +188,6 @@ typedef u_int32 ipaddrt;
|
||||
#define NIT_CHUNKSIZE 8192 /* chunk size for grabbing pkts */
|
||||
#endif
|
||||
|
||||
/*
|
||||
* Pfilt definitions.
|
||||
*/
|
||||
#ifdef USE_PFILT
|
||||
#define PFILT_CHUNKSIZE 8192 /* chunk size for grabbing pkts */
|
||||
#endif
|
||||
|
||||
/*
|
||||
* Data Link Provider Interface (DLPI) definitions.
|
||||
*/
|
||||
|
||||
6
inc/os.h
6
inc/os.h
@@ -104,9 +104,3 @@
|
||||
#define bcmp(a,b,n) memcmp(a,b,n)
|
||||
#define bcopy(a,b,n) memcpy(b,a,n)
|
||||
#endif
|
||||
|
||||
#ifdef DECOSF
|
||||
#ifndef USE_PFILT
|
||||
#define USE_PFILT 1
|
||||
#endif
|
||||
#endif
|
||||
|
||||
@@ -228,25 +228,6 @@ typedef signed char s_char;
|
||||
|
||||
|
||||
|
||||
/********************************************************/
|
||||
/* */
|
||||
/********************************************************/
|
||||
#ifdef DEC3100
|
||||
#undef UNALIGNED_FETCH_OK
|
||||
#ifdef OSF1
|
||||
typedef signed char s_char;
|
||||
#undef UNSIGNED
|
||||
#undef INT
|
||||
#define UNSIGNED unsigned long long
|
||||
#define INT long long
|
||||
#undef REGISTER
|
||||
#define REGISTER
|
||||
#endif /* OSF1 */
|
||||
#endif /* DEC3100 */
|
||||
|
||||
|
||||
|
||||
|
||||
/********************************************************/
|
||||
/* */
|
||||
/********************************************************/
|
||||
|
||||
Reference in New Issue
Block a user