summaryrefslogtreecommitdiff
path: root/src/s
diff options
context:
space:
mode:
authorRichard M. Stallman <rms@gnu.org>1994-02-20 07:10:37 +0000
committerRichard M. Stallman <rms@gnu.org>1994-02-20 07:10:37 +0000
commite27fc6d3d3e0375f47789c22691d5094d6887f5a (patch)
tree5bfd36f8d6d92c551fb7891852c5bc3351753b35 /src/s
parent08068cb6daaae7a75e45463eb7f6b8cffcab66be (diff)
downloademacs-e27fc6d3d3e0375f47789c22691d5094d6887f5a.tar.gz
(BSD_PGRPS): Add #undef.
(TAB3): Defined. (NEED_ERRNO, NO_TERMIO, HAVE_TERMIOS, HAVE_UNION_WAIT): Defined.
Diffstat (limited to 'src/s')
-rw-r--r--src/s/netbsd.h12
1 files changed, 12 insertions, 0 deletions
diff --git a/src/s/netbsd.h b/src/s/netbsd.h
index 7e75f233266..8988cc81394 100644
--- a/src/s/netbsd.h
+++ b/src/s/netbsd.h
@@ -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'. */