X-Git-Url: https://code.delx.au/gnu-emacs/blobdiff_plain/1b231651ce7fd7c47a8ed3fbe8f2ca72f8339964..45e9f7da84c1bd3fc0d36d05c5708ed3b2d3a193:/src/s/usg5-4-common.h diff --git a/src/s/usg5-4-common.h b/src/s/usg5-4-common.h index 0fcc662345..fabdd66f3b 100644 --- a/src/s/usg5-4-common.h +++ b/src/s/usg5-4-common.h @@ -1,7 +1,6 @@ /* Definitions file for GNU Emacs running on AT&T's System V Release 4 -Copyright (C) 1987, 1990, 1999, 2000, 2001, 2002, 2003, 2004, 2005, - 2006, 2007, 2008, 2009, 2010 Free Software Foundation, Inc. +Copyright (C) 1987, 1990, 1999-2012 Free Software Foundation, Inc. Written by James Van Artsdalen of Dell Computer Corp. james@bigtex.cactus.org. Subsequently improved for Dell 2.2 by Eric S. Raymond . @@ -31,20 +30,6 @@ along with GNU Emacs. If not, see . */ It sets the Lisp variable system-type. */ #define SYSTEM_TYPE "usg-unix-v" -/* Define HAVE_TERMIO if the system provides sysV-style ioctls - for terminal control. */ -#define HAVE_TERMIO - -/* Define SYSV_SYSTEM_DIR to use the V.3 getdents/readir library - functions. Almost, but not quite the same as the 4.2 functions. */ -#define SYSV_SYSTEM_DIR - -/* The file containing the kernel's symbol table is called /unix. */ -#define KERNEL_FILE "/unix" - -/* The kernel symbol where the load average is found is named avenrun. */ -#define LDAV_SYMBOL "avenrun" - /* setjmp and longjmp can safely replace _setjmp and _longjmp, but they will run slower. */ #define _setjmp setjmp @@ -53,9 +38,6 @@ along with GNU Emacs. If not, see . */ /* The docs for system V/386 suggest v.3 has sigpause, so let's try it. */ #define HAVE_SYSV_SIGPAUSE -/* On USG systems signal handlers return void. */ -#define SIGTYPE void - /* Get FIONREAD from . Get to get struct tchars. But get first to make sure ttold.h doesn't interfere. And don't try to use SIGIO yet. */ @@ -82,7 +64,6 @@ along with GNU Emacs. If not, see . */ /* Define HAVE_PTYS if the system supports pty devices. */ #define HAVE_PTYS -#define HAVE_TERMIOS /* It is possible to receive SIGCHLD when there are no children waiting, because a previous waitsys(2) cleaned up the carcass of child @@ -107,14 +88,11 @@ along with GNU Emacs. If not, see . */ /* Push various streams modules onto a PTY channel. */ #define SETUP_SLAVE_PTY \ if (ioctl (xforkin, I_PUSH, "ptem") == -1) \ - fatal ("ioctl I_PUSH ptem", errno); \ + fatal ("ioctl I_PUSH ptem"); \ if (ioctl (xforkin, I_PUSH, "ldterm") == -1) \ - fatal ("ioctl I_PUSH ldterm", errno); \ + fatal ("ioctl I_PUSH ldterm"); \ if (ioctl (xforkin, I_PUSH, "ttcompat") == -1) \ - fatal ("ioctl I_PUSH ttcompat", errno); + fatal ("ioctl I_PUSH ttcompat"); /* This definition was suggested for next release. So give it a try. */ #define HAVE_SOCKETS - -/* arch-tag: 1a0ed909-5faa-434b-b7c3-9d86c63d53a6 - (do not change this comment) */