--- gforth/engine/io.c 1997/05/21 20:40:09 1.1 +++ gforth/engine/io.c 1997/06/15 19:43:48 1.2 @@ -85,12 +85,15 @@ #endif /* !_POSIX_VERSION */ /* Posix systems use termios and the Posix signal functions. */ -#if defined (_POSIX_VERSION) +#if defined (_POSIX_VERSION) || defined (NeXT) # if !defined (TERMIOS_MISSING) # undef NEW_TTY_DRIVER # define TERMIOS_TTY_DRIVER # include # endif /* !TERMIOS_MISSING */ +#endif /* _POSIX_VERSION || NeXT */ + +#if defined (_POSIX_VERSION) # define HAVE_POSIX_SIGNALS # if !defined (O_NDELAY) # define O_NDELAY O_NONBLOCK /* Posix-style non-blocking i/o */ @@ -107,7 +110,7 @@ special character is disabled and to disable certain special characters. Posix systems should set to 0, USG systems to -1. */ #if !defined (NEW_TTY_DRIVER) && !defined (_POSIX_VDISABLE) -# if defined (_POSIX_VERSION) +# if defined (_POSIX_VERSION) || defined (NeXT) # define _POSIX_VDISABLE 0 # else /* !_POSIX_VERSION */ # define _POSIX_VDISABLE -1