Mercurial > emacs
annotate src/s/sol2-4.h @ 11860:0c39d1945e5e
(easy-menu-do-define): Add autoload cookie.
author | Karl Heuer <kwzh@gnu.org> |
---|---|
date | Sat, 20 May 1995 04:29:39 +0000 |
parents | 8d6752fefce7 |
children | e45a4d0aae48 |
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__ */ |
11706
0bb32e56cff3
(HAVE_VFORK): Add #undef.
Richard M. Stallman <rms@gnu.org>
parents:
8540
diff
changeset
|
20 |
0bb32e56cff3
(HAVE_VFORK): Add #undef.
Richard M. Stallman <rms@gnu.org>
parents:
8540
diff
changeset
|
21 /* David Miller <davem@caip.rutgers.edu> says vfork fails on 2.4. */ |
0bb32e56cff3
(HAVE_VFORK): Add #undef.
Richard M. Stallman <rms@gnu.org>
parents:
8540
diff
changeset
|
22 #undef HAVE_VFORK |