Diff for /gforth/Attic/io.c between versions 1.16 and 1.19

version 1.16, 1996/09/19 22:17:32 version 1.19, 1997/02/16 20:51:08
Line 28 Line 28
 #include "config.h"  #include "config.h"
 #include <unistd.h>  #include <unistd.h>
   
 #ifdef apollo  #if defined(apollo) || defined(_WIN32)
 #define _POSIX_VERSION  #define _POSIX_VERSION
 #endif  #endif
   
Line 36 Line 36
 #include <signal.h>  #include <signal.h>
 #include <string.h>  #include <string.h>
 #include <sys/types.h>  #include <sys/types.h>
 #ifndef apollo  #if !defined(apollo) && !defined(MSDOS)
 #include <sys/ioctl.h>  #include <sys/ioctl.h>
 #endif  #endif
 #include <fcntl.h>  #include <fcntl.h>
Line 71 Line 71
   
 /* System V machines use termio. */  /* System V machines use termio. */
 #if !defined (_POSIX_VERSION)  #if !defined (_POSIX_VERSION)
 #  if defined (USG) || defined (hpux) || defined (Xenix) || defined (sgi) || defined (DGUX) || defined (ultrix) || defined (Solaris)  #  if defined (USG) || defined (hpux) || defined (Xenix) || defined (sgi) || defined (DGUX) || defined (ultrix) || defined (Solaris) || defined(_WIN32)
 #    undef NEW_TTY_DRIVER  #    undef NEW_TTY_DRIVER
 #    define TERMIO_TTY_DRIVER  #    define TERMIO_TTY_DRIVER
 #    include <termio.h>  #    include <termio.h>
Line 755  signal_throw(int sig) Line 755  signal_throw(int sig)
 }  }
   
 UCell cols=80;  UCell cols=80;
 #ifdef MSDOS  #if defined(MSDOS) || defined (_WIN32)
 UCell rows=25;  UCell rows=25;
 #else  #else
 UCell rows=24;  UCell rows=24;

Removed from v.1.16  
changed lines
  Added in v.1.19


FreeBSD-CVSweb <freebsd-cvsweb@FreeBSD.org>