]> code.delx.au - gnu-emacs/blobdiff - src/s/bsd386.h
(POSIX_SIGNALS): Defined.
[gnu-emacs] / src / s / bsd386.h
index 9c1e36573bec464cc28ef4fab9fbe3ee503428c5..30833b5ff9aadb913357f10f557f096fde97655e 100644 (file)
@@ -2,6 +2,12 @@
 
 #include "bsd4-3.h"
 
+#ifndef __bsdi__
+#define __bsdi__ 1
+#endif
+
+#define DECLARE_GETPWUID_WITH_UID_T
+
 #define SIGNALS_VIA_CHARACTERS
 
 #define PENDING_OUTPUT_COUNT(FILE) ((FILE)->_p - (FILE)->_bf._base)
 #define LIB_X11_LIB -L/usr/X11/lib -lX11
 #define LIBS_SYSTEM -lutil -lkvm -lcompat
 
-#define HAVE_GETLOADAVG
+#define HAVE_GETLOADAVG 1
 
 #undef BSD_PGRPS
+
+/* System uses OXTABS instead of the expected TAB3.
+   (Copied from netbsd.h.)  */
+#define TABDLY OXTABS
+#define TAB3 OXTABS
+
+#define SYSV_SYSTEM_DIR
+
+#define HAVE_TERMIOS
+#define NO_TERMIO
+
+#define WAITTYPE int
+/* get this since it won't be included if WAITTYPE is defined */
+#ifdef emacs
+#include <sys/wait.h>
+#endif
+#define WRETCODE(w) WEXITSTATUS(w)
+#ifndef WCOREDUMP
+#define WCOREDUMP(w) ((w) & 0200)
+#endif
+
+#define GETPGRP_NO_ARG 1
+
+/* arch-tag: 867e3bb8-e9df-4763-9c82-8f4accb8209e
+   (do not change this comment) */