annotate src/s/sol2-4.h @ 8958:24e6be28b6ea

*** empty log message ***
author Richard M. Stallman <rms@gnu.org>
date Wed, 21 Sep 1994 03:40:21 +0000
parents 9c1de425567f
children 0bb32e56cff3
Ignore whitespace changes - Everywhere: Within whitespace: At end of lines:
rev   line source
8451
2c1c248f97d4 Initial revision
Richard M. Stallman <rms@gnu.org>
parents:
diff changeset
1 /* Handle Solaris 2.4. */
2c1c248f97d4 Initial revision
Richard M. Stallman <rms@gnu.org>
parents:
diff changeset
2
8475
77d5e055dce1 (PTY_TTY_NAME_SPRINTF): New definition.
Richard M. Stallman <rms@gnu.org>
parents: 8451
diff changeset
3 #include "sol2-3.h"
77d5e055dce1 (PTY_TTY_NAME_SPRINTF): New definition.
Richard M. Stallman <rms@gnu.org>
parents: 8451
diff changeset
4
77d5e055dce1 (PTY_TTY_NAME_SPRINTF): New definition.
Richard M. Stallman <rms@gnu.org>
parents: 8451
diff changeset
5 #define SOLARIS2_4
77d5e055dce1 (PTY_TTY_NAME_SPRINTF): New definition.
Richard M. Stallman <rms@gnu.org>
parents: 8451
diff changeset
6
8540
9c1de425567f (pid_t): New definition.
Richard M. Stallman <rms@gnu.org>
parents: 8512
diff changeset
7 /* Solaris 2.4 has a broken vfork. So we don't use it;
9c1de425567f (pid_t): New definition.
Richard M. Stallman <rms@gnu.org>
parents: 8512
diff changeset
8 we use the alternate definition in sysdep.c.
9c1de425567f (pid_t): New definition.
Richard M. Stallman <rms@gnu.org>
parents: 8512
diff changeset
9 But a header file has a declaration
8511
be7f0e042b3c (HAVE_VFORK): Deleted.
Richard M. Stallman <rms@gnu.org>
parents: 8475
diff changeset
10 that conflicts with the definition of vfork in sysdep.c.
8540
9c1de425567f (pid_t): New definition.
Richard M. Stallman <rms@gnu.org>
parents: 8512
diff changeset
11 This kludge should prevent the conflict. */
9c1de425567f (pid_t): New definition.
Richard M. Stallman <rms@gnu.org>
parents: 8512
diff changeset
12 #define pid_t int
8511
be7f0e042b3c (HAVE_VFORK): Deleted.
Richard M. Stallman <rms@gnu.org>
parents: 8475
diff changeset
13
8475
77d5e055dce1 (PTY_TTY_NAME_SPRINTF): New definition.
Richard M. Stallman <rms@gnu.org>
parents: 8451
diff changeset
14 /* Get rid of -traditional and let const really do its thing. */
77d5e055dce1 (PTY_TTY_NAME_SPRINTF): New definition.
Richard M. Stallman <rms@gnu.org>
parents: 8451
diff changeset
15
8451
2c1c248f97d4 Initial revision
Richard M. Stallman <rms@gnu.org>
parents:
diff changeset
16 #ifdef __GNUC__
8475
77d5e055dce1 (PTY_TTY_NAME_SPRINTF): New definition.
Richard M. Stallman <rms@gnu.org>
parents: 8451
diff changeset
17 #undef C_SWITCH_SYSTEM
77d5e055dce1 (PTY_TTY_NAME_SPRINTF): New definition.
Richard M. Stallman <rms@gnu.org>
parents: 8451
diff changeset
18 #undef const
8451
2c1c248f97d4 Initial revision
Richard M. Stallman <rms@gnu.org>
parents:
diff changeset
19 #endif /* __GNUC__ */