Mercurial > emacs
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 |
rev | line source |
---|---|
8451 | 1 /* Handle Solaris 2.4. */ |
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 | 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 | 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 | 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 | 19 #endif /* __GNUC__ */ |