From: Roland McGrath Date: Fri, 10 Sep 1993 05:02:57 +0000 (+0000) Subject: Initial revision X-Git-Tag: emacs-19.34~11161 X-Git-Url: http://git.eshelyaron.com/gitweb/?a=commitdiff_plain;h=60fa73fdf2c8b8fc9fae23321c56be906672ed75;p=emacs.git Initial revision --- diff --git a/src/s/netbsd.h b/src/s/netbsd.h new file mode 100644 index 00000000000..7f5f7451827 --- /dev/null +++ b/src/s/netbsd.h @@ -0,0 +1,30 @@ +/* s/ file for netbsd system. */ + +/* Get most of the stuff from bsd4.3 */ +#include "bsd4-3.h" + +#undef SYSTEM_TYPE +#define SYSTEM_TYPE "netbsd" + +#undef KERNEL_FILE +#define KERNEL_FILE "/netbsd" + +#undef LDAV_SYMBOL +#define LDAV_SYMBOL "_averunnable" + +#define SIGNALS_VIA_CHARACTERS + +#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 HAVE_SETSID + +#define LIBS_DEBUG +#define LIBS_SYSTEM -lutil + +#define HAVE_GETLOADAVG + +/* For mem-limits.h. */ +#define BSD4_2