diff src/s/bsd386.h @ 428:3ecd8885ac67 r21-2-22

Import from CVS: tag r21-2-22
author cvs
date Mon, 13 Aug 2007 11:28:15 +0200
parents
children abe6d1db359e
line wrap: on
line diff
--- /dev/null	Thu Jan 01 00:00:00 1970 +0000
+++ b/src/s/bsd386.h	Mon Aug 13 11:28:15 2007 +0200
@@ -0,0 +1,31 @@
+/* Synched up with: FSF 19.31. */
+
+/* s/ file for bsd386 system.  */
+
+#include "bsd4-3.h"
+
+#ifndef __bsdi__
+#define __bsdi__ 1
+#endif
+
+#define DECLARE_GETPWUID_WITH_UID_T
+
+#define PENDING_OUTPUT_COUNT(FILE) ((FILE)->_p - (FILE)->_bf._base)
+#define A_TEXT_OFFSET(x)    (sizeof (struct exec))
+#define A_TEXT_SEEK(hdr) (N_TXTOFF(hdr) + A_TEXT_OFFSET(hdr))
+
+#define LIBS_DEBUG
+#define LIBS_SYSTEM "-lutil -lcompat"
+
+#define HAVE_GETLOADAVG
+
+/* System uses OXTABS instead of the expected TAB3.
+   (Copied from netbsd.h.)  */
+#define TABDLY OXTABS
+#define TAB3 OXTABS
+
+/* This silences a few compilation warnings.  */
+#ifdef emacs
+#undef BSD
+#include <sys/param.h> /* To get BSD defined consistently.  */
+#endif