annotate src/s/sunos4-1.h @ 5543:dbc1d920ef5c

Don't declare sys_nerr. Don't declare sys_errlist unless #ifdef VMS. Declare strerror instead. (wait_reading_process_input): Call strerror instead of using sys_errlist.
author Roland McGrath <roland@gnu.org>
date Sun, 09 Jan 1994 23:06:40 +0000
parents ab37f52a4fe3
children adbebd010e43
Ignore whitespace changes - Everywhere: Within whitespace: At end of lines:
rev   line source
457
e442bb589751 entered into RCS
Jim Blandy <jimb@redhat.com>
parents:
diff changeset
1 #include "sunos4-0.h"
e442bb589751 entered into RCS
Jim Blandy <jimb@redhat.com>
parents:
diff changeset
2
3591
507f64624555 Apply typo patches from Paul Eggert.
Jim Blandy <jimb@redhat.com>
parents: 2284
diff changeset
3 /* 4.1.1 makes these system calls interruptible. */
457
e442bb589751 entered into RCS
Jim Blandy <jimb@redhat.com>
parents:
diff changeset
4
e442bb589751 entered into RCS
Jim Blandy <jimb@redhat.com>
parents:
diff changeset
5 #define read sys_read
e442bb589751 entered into RCS
Jim Blandy <jimb@redhat.com>
parents:
diff changeset
6 #define write sys_write
e442bb589751 entered into RCS
Jim Blandy <jimb@redhat.com>
parents:
diff changeset
7 #define open sys_open
e442bb589751 entered into RCS
Jim Blandy <jimb@redhat.com>
parents:
diff changeset
8 #define close sys_close
e442bb589751 entered into RCS
Jim Blandy <jimb@redhat.com>
parents:
diff changeset
9
e442bb589751 entered into RCS
Jim Blandy <jimb@redhat.com>
parents:
diff changeset
10 #define INTERRUPTIBLE_OPEN
e442bb589751 entered into RCS
Jim Blandy <jimb@redhat.com>
parents:
diff changeset
11 #define INTERRUPTIBLE_CLOSE
e442bb589751 entered into RCS
Jim Blandy <jimb@redhat.com>
parents:
diff changeset
12 #define INTERRUPTIBLE_IO
2284
bba90ce247b0 * s/hpux8.h, s/sunos4-1.h (OLDXMENU_OPTIONS): Define this, as in
Jim Blandy <jimb@redhat.com>
parents: 457
diff changeset
13
bba90ce247b0 * s/hpux8.h, s/sunos4-1.h (OLDXMENU_OPTIONS): Define this, as in
Jim Blandy <jimb@redhat.com>
parents: 457
diff changeset
14 /* Cause the compilation of oldxmenu to use the right -I option. */
bba90ce247b0 * s/hpux8.h, s/sunos4-1.h (OLDXMENU_OPTIONS): Define this, as in
Jim Blandy <jimb@redhat.com>
parents: 457
diff changeset
15 #define OLDXMENU_OPTIONS CFLAGS=C_SWITCH_SYSTEM
3968
e6f0cff88f06 * s/sunos4-1.h (LIBS_SYSTEM): Make this be -lresolv, so we get the
Jim Blandy <jimb@redhat.com>
parents: 3591
diff changeset
16
3983
0c928e4c5304 * s/sunos4-1.h (LIBS_SYSTEM): Don't link against -lresolv; that's
Jim Blandy <jimb@redhat.com>
parents: 3968
diff changeset
17 /* Some systems do not run the Network Information Service, but have
0c928e4c5304 * s/sunos4-1.h (LIBS_SYSTEM): Don't link against -lresolv; that's
Jim Blandy <jimb@redhat.com>
parents: 3968
diff changeset
18 modified the shared C library to include resolver support without
5259
038648cabe50 (LIBS_SYSTEM): Use -lresolv if HAVE_RES_INIT
Richard M. Stallman <rms@gnu.org>
parents: 4731
diff changeset
19 also changing the C archive library (/usr/lib/libc.a). If we can't
038648cabe50 (LIBS_SYSTEM): Use -lresolv if HAVE_RES_INIT
Richard M. Stallman <rms@gnu.org>
parents: 4731
diff changeset
20 detect the presence of res_init, use -lresolv to supplement libc.a.
038648cabe50 (LIBS_SYSTEM): Use -lresolv if HAVE_RES_INIT
Richard M. Stallman <rms@gnu.org>
parents: 4731
diff changeset
21 The #ifdef HAVE_GETHOSTNAME is to prevent configure from
038648cabe50 (LIBS_SYSTEM): Use -lresolv if HAVE_RES_INIT
Richard M. Stallman <rms@gnu.org>
parents: 4731
diff changeset
22 setting libsrc_libs to -lresolv in lib-src/Makefile. configure
038648cabe50 (LIBS_SYSTEM): Use -lresolv if HAVE_RES_INIT
Richard M. Stallman <rms@gnu.org>
parents: 4731
diff changeset
23 includes this file without defining any of the HAVE_* macros. */
038648cabe50 (LIBS_SYSTEM): Use -lresolv if HAVE_RES_INIT
Richard M. Stallman <rms@gnu.org>
parents: 4731
diff changeset
24 #ifdef HAVE_GETHOSTNAME
038648cabe50 (LIBS_SYSTEM): Use -lresolv if HAVE_RES_INIT
Richard M. Stallman <rms@gnu.org>
parents: 4731
diff changeset
25 #ifndef HAVE_RES_INIT
4731
a8c0357a8554 (LIBS_SYSTEM): Use -lresolv if it seems appropriate.
Richard M. Stallman <rms@gnu.org>
parents: 4210
diff changeset
26 #define LIBS_SYSTEM -lresolv
a8c0357a8554 (LIBS_SYSTEM): Use -lresolv if it seems appropriate.
Richard M. Stallman <rms@gnu.org>
parents: 4210
diff changeset
27 #endif
5259
038648cabe50 (LIBS_SYSTEM): Use -lresolv if HAVE_RES_INIT
Richard M. Stallman <rms@gnu.org>
parents: 4731
diff changeset
28 #endif
4210
b0a5f72de90c (SUNOS_LOCALTIME_BUG): Defined.
Richard M. Stallman <rms@gnu.org>
parents: 3984
diff changeset
29
5438
ab37f52a4fe3 (SUNOS_LOCALTIME_BUG): #if 0'd.
Richard M. Stallman <rms@gnu.org>
parents: 5259
diff changeset
30 #if 0 /* Not necessary, since SYSTEM_MALLOC is defined in sunos4-0.h. */
4210
b0a5f72de90c (SUNOS_LOCALTIME_BUG): Defined.
Richard M. Stallman <rms@gnu.org>
parents: 3984
diff changeset
31 /* Tell GNU malloc to compensate for a bug in localtime. */
b0a5f72de90c (SUNOS_LOCALTIME_BUG): Defined.
Richard M. Stallman <rms@gnu.org>
parents: 3984
diff changeset
32 #define SUNOS_LOCALTIME_BUG
5438
ab37f52a4fe3 (SUNOS_LOCALTIME_BUG): #if 0'd.
Richard M. Stallman <rms@gnu.org>
parents: 5259
diff changeset
33 #endif