]>
code.delx.au - gnu-emacs/blob - src/s/sunos4-1.h
3 /* 4.1.1 makes these system calls interruptible. */
6 #define write sys_write
8 #define close sys_close
10 #define INTERRUPTIBLE_OPEN
11 #define INTERRUPTIBLE_CLOSE
12 #define INTERRUPTIBLE_IO
14 /* Cause the compilation of oldxmenu to use the right -I option. */
15 #define OLDXMENU_OPTIONS CFLAGS=C_SWITCH_SYSTEM
17 /* Some systems do not run the Network Information Service, but have
18 modified the shared C library to include resolver support without
19 also changing the C archive library (/usr/lib/libc.a). If we
20 detect the presence of libresolv.a, use -lresolv to supplement libc.a.
22 We used to have #ifdef HAVE_GETHOSTNAME is to prevent configure from
23 setting libsrc_libs to -lresolv in lib-src/Makefile. But nowadays
24 configure is smarter about computing libsrc_libs, and would not
25 be fooled. Anyway, why not use -lresolv in lib-src? */
26 /* #ifdef HAVE_GETHOSTNAME */
28 #define LIBS_SYSTEM -lresolv
32 #if 0 /* Not necessary, since SYSTEM_MALLOC is defined in sunos4-0.h. */
33 /* Tell GNU malloc to compensate for a bug in localtime. */
34 #define SUNOS_LOCALTIME_BUG