(display-time): Call display-time-mode.
[emacs.git] / src / s / netbsd.h
blobb653566572406366faa986c890b2c9c97fa90972
1 /* s/ file for netbsd system. */
3 /* Get most of the stuff from bsd4.3 */
4 #include "bsd4-3.h"
6 /* For mem-limits.h. */
7 #define BSD4_2
9 #undef KERNEL_FILE
10 #undef LDAV_SYMBOL
11 #define HAVE_GETLOADAVG
13 #define HAVE_UNION_WAIT
15 #define SIGNALS_VIA_CHARACTERS
17 #define PENDING_OUTPUT_COUNT(FILE) ((FILE)->_p - (FILE)->_bf._base)
19 /* netbsd uses OXTABS instead of the expected TAB3. */
20 #define TABDLY OXTABS
21 #define TAB3 OXTABS
23 #define A_TEXT_OFFSET(x) (sizeof (struct exec))
24 #define A_TEXT_SEEK(hdr) (N_TXTOFF(hdr) + A_TEXT_OFFSET(hdr))
26 #define HAVE_TERMIOS
27 #define NO_TERMIO
29 #define LIBS_DEBUG
30 /* -lutil is not needed for NetBSD >0.9. */
31 /* #define LIBS_SYSTEM -lutil */
32 #define LIBS_TERMCAP -ltermcap
34 #define NEED_ERRNO
35 #define SYSV_SYSTEM_DIR
37 /* Netbsd has POSIX-style pgrp behavior. */
38 #undef BSD_PGRPS
40 #define GETPGRP_NO_ARG
42 #ifndef NO_SHARED_LIBS
43 /* These definitions should work for either dynamic or static linking,
44 whichever is the default for `cc -nostdlib'. */
45 #define HAVE_TEXT_START /* No need to define `start_of_text'. */
46 #define START_FILES pre-crt0.o /usr/lib/crt0.o
47 #define UNEXEC unexsunos4.o
48 #define RUN_TIME_REMAP
50 /* Try to make this work for both 0.9 and >0.9. */
51 #ifndef N_TRELOFF
52 #define N_PAGSIZ(x) __LDPGSZ
53 #define N_BSSADDR(x) (N_ALIGN(x, N_DATADDR(x)+x.a_data))
54 #define N_TRELOFF(x) N_RELOFF(x)
55 #endif
56 #endif /* not NO_SHARED_LIBS */
58 #define HAVE_WAIT_HEADER
59 #define WAIT_USE_INT
61 #define NO_MATHERR
63 #define AMPERSAND_FULL_NAME