changeset 6014:0d370ebc038a

(BSD_PGRPS): Add #undef. (TAB3): Defined. (NEED_ERRNO, NO_TERMIO, HAVE_TERMIOS, HAVE_UNION_WAIT): Defined.
author Richard M. Stallman <rms@gnu.org>
date Sun, 20 Feb 1994 07:10:37 +0000
parents f03d2629a6a3
children 1a2b17eab8d9
files src/s/netbsd.h
diffstat 1 files changed, 12 insertions(+), 0 deletions(-) [+]
line wrap: on
line diff
--- a/src/s/netbsd.h	Sun Feb 20 03:25:09 1994 +0000
+++ b/src/s/netbsd.h	Sun Feb 20 07:10:37 1994 +0000
@@ -13,20 +13,32 @@
 #undef LDAV_SYMBOL
 #define HAVE_GETLOADAVG
 
+#define HAVE_UNION_WAIT
+
 #define SIGNALS_VIA_CHARACTERS
 
 #define PENDING_OUTPUT_COUNT(FILE) ((FILE)->_p - (FILE)->_bf._base)
 
+/* netbsd uses OXTABS instead of the expected TAB3.  */
+#define TAB3 OXTABS
+
 #define A_TEXT_OFFSET(x) (sizeof (struct exec))
 #define A_TEXT_SEEK(hdr) (N_TXTOFF(hdr) + A_TEXT_OFFSET(hdr))
 
+#define HAVE_TERMIOS
+#define NO_TERMIO
+
 #define LIBS_DEBUG
 /* -lutil is not needed for NetBSD >0.9.  */
 #define LIBS_SYSTEM -lutil
 #define LIBS_TERMCAP -ltermcap
 
+#define NEED_ERRNO
 #define SYSV_SYSTEM_DIR
 
+/* Netbsd has POSIX-style pgrp behavior.  */
+#undef BSD_PGRPS
+
 /* These definitions should work for either dynamic or static linking,
    whichever is the default for `cc -nostdlib'.  */
 #define HAVE_TEXT_START		/* No need to define `start_of_text'.  */