/* -*-C-*-
-$Header: /Users/cph/tmp/foo/mit-scheme/mit-scheme/v7/src/microcode/Attic/oscond.h,v 1.3 1990/08/10 02:02:25 cph Rel $
+$Header: /Users/cph/tmp/foo/mit-scheme/mit-scheme/v7/src/microcode/Attic/oscond.h,v 1.4 1991/01/16 00:34:45 cph Exp $
-Copyright (c) 1990 Massachusetts Institute of Technology
+Copyright (c) 1990, 1991 Massachusetts Institute of Technology
This material was developed by the Scheme project at the Massachusetts
Institute of Technology, Department of Electrical Engineering and
#define _SYSV
#endif
+#if defined(_NEXTOS)
+
+#define _BSD4_3
+
+#include <sys/port.h>
+#ifdef PORT_BACKLOG_DEFAULT
+#define _NEXTOS_VERSION 20
+#else
+#define _NEXTOS_VERSION 10
+#endif
+
+#endif /* _NEXTOS */
+
#if defined(_ULTRIX)
#define _POSIX
#define _BSD4_3
/* -*-C-*-
System file for NeXT running Mach
-$Header: /Users/cph/tmp/foo/mit-scheme/mit-scheme/v7/src/microcode/s/Attic/nextos.h,v 1.2 1990/10/16 20:57:07 cph Rel $
+$Header: /Users/cph/tmp/foo/mit-scheme/mit-scheme/v7/src/microcode/s/Attic/nextos.h,v 1.3 1991/01/16 00:34:58 cph Exp $
-Copyright (c) 1990 Massachusetts Institute of Technology
+Copyright (c) 1990, 1991 Massachusetts Institute of Technology
This material was developed by the Scheme project at the Massachusetts
Institute of Technology, Department of Electrical Engineering and
promotional, or sales literature without prior written consent from
MIT in each case. */
-#define C_SWITCH_SYSTEM -bsd -fwritable-strings -D_BSD4_3
+#define C_SWITCH_SYSTEM -bsd -fwritable-strings -D_NEXTOS
#define LIBS_TERMCAP -ltermcap
/* -*-C-*-
-$Header: /Users/cph/tmp/foo/mit-scheme/mit-scheme/v7/src/microcode/ux.h,v 1.16 1991/01/07 23:56:58 cph Rel $
+$Header: /Users/cph/tmp/foo/mit-scheme/mit-scheme/v7/src/microcode/ux.h,v 1.17 1991/01/16 00:34:21 cph Exp $
-Copyright (c) 1988, 1989, 1990 Massachusetts Institute of Technology
+Copyright (c) 1988, 1989, 1990, 1991 Massachusetts Institute of Technology
This material was developed by the Scheme project at the Massachusetts
Institute of Technology, Department of Electrical Engineering and
/* #define HAVE_WAIT4 */
#define UNION_WAIT_STATUS
-#if defined(_ULTRIX) || defined(_SUNOS4) || defined(sun4) || defined(NeXT)
+#if defined(_ULTRIX) || defined(_SUNOS4) || defined(sun4) || defined(_NEXTOS)
#define VOID_SIGNAL_HANDLERS
#endif
#define SYSTEM_VARIANT "Ultrix"
#endif
-#ifdef NeXT
+#ifdef _NEXTOS
#define SYSTEM_VARIANT "NeXT"
#endif
/* -*-C-*-
-$Header: /Users/cph/tmp/foo/mit-scheme/mit-scheme/v7/src/microcode/uxtrap.c,v 1.6 1990/12/30 02:00:19 cph Rel $
+$Header: /Users/cph/tmp/foo/mit-scheme/mit-scheme/v7/src/microcode/uxtrap.c,v 1.7 1991/01/16 00:34:33 cph Exp $
-Copyright (c) 1990 Massachusetts Institute of Technology
+Copyright (c) 1990, 1991 Massachusetts Institute of Technology
This material was developed by the Scheme project at the Massachusetts
Institute of Technology, Department of Electrical Engineering and
static SCHEME_OBJECT * EXFUN
(find_block_address, (char * pc_value, SCHEME_OBJECT * area_start));
-#ifndef NeXT
+#if !(defined (_NEXTOS) && (_NEXTOS_VERSION >= 20))
extern long etext;
#define get_etext() (&etext)
#endif