Mercurial > emacs
annotate src/s/sol2-4.h @ 11950:e45a4d0aae48
Move #undef HAVE_VFORK to s/sol2-3.h.
Define VFORK_RETURN_TYPE.
author | Karl Heuer <kwzh@gnu.org> |
---|---|
date | Fri, 26 May 1995 22:07:55 +0000 |
parents | 8d6752fefce7 |
children | c0cef571e5e3 |
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. |
11950
e45a4d0aae48
Move #undef HAVE_VFORK to s/sol2-3.h.
Karl Heuer <kwzh@gnu.org>
parents:
11849
diff
changeset
|
9 But a header file has a declaration |
e45a4d0aae48
Move #undef HAVE_VFORK to s/sol2-3.h.
Karl Heuer <kwzh@gnu.org>
parents:
11849
diff
changeset
|
10 that would conflict with the definition of vfork in sysdep.c. |
e45a4d0aae48
Move #undef HAVE_VFORK to s/sol2-3.h.
Karl Heuer <kwzh@gnu.org>
parents:
11849
diff
changeset
|
11 So we'll choose the return type to match the system header. */ |
e45a4d0aae48
Move #undef HAVE_VFORK to s/sol2-3.h.
Karl Heuer <kwzh@gnu.org>
parents:
11849
diff
changeset
|
12 #define VFORK_RETURN_TYPE pid_t |
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__ */ |