aboutsummaryrefslogtreecommitdiffstats
path: root/src
diff options
context:
space:
mode:
authorKarl Heuer1995-05-26 22:07:55 +0000
committerKarl Heuer1995-05-26 22:07:55 +0000
commit5dc2afde98f4beffb5d84e3214ce8c34190a578d (patch)
tree420f5b6175106916869d4ea87f0ffa811c4ae114 /src
parent031f7919d8cfa5f9bdbcde8efa4a302489cb76d5 (diff)
downloademacs-5dc2afde98f4beffb5d84e3214ce8c34190a578d.tar.gz
emacs-5dc2afde98f4beffb5d84e3214ce8c34190a578d.zip
Move #undef HAVE_VFORK to s/sol2-3.h.
Define VFORK_RETURN_TYPE.
Diffstat (limited to 'src')
-rw-r--r--src/s/sol2-4.h11
1 files changed, 4 insertions, 7 deletions
diff --git a/src/s/sol2-4.h b/src/s/sol2-4.h
index d9ea83389a7..2f2a41941ca 100644
--- a/src/s/sol2-4.h
+++ b/src/s/sol2-4.h
@@ -6,10 +6,10 @@
6 6
7/* Solaris 2.4 has a broken vfork. So we don't use it; 7/* Solaris 2.4 has a broken vfork. So we don't use it;
8 we use the alternate definition in sysdep.c. 8 we use the alternate definition in sysdep.c.
9 But a header file has a declaration 9 But a header file has a declaration
10 that conflicts with the definition of vfork in sysdep.c. 10 that would conflict with the definition of vfork in sysdep.c.
11 This kludge should prevent the conflict. */ 11 So we'll choose the return type to match the system header. */
12#define pid_t int 12#define VFORK_RETURN_TYPE pid_t
13 13
14/* Get rid of -traditional and let const really do its thing. */ 14/* Get rid of -traditional and let const really do its thing. */
15 15
@@ -17,6 +17,3 @@
17#undef C_SWITCH_SYSTEM 17#undef C_SWITCH_SYSTEM
18#undef const 18#undef const
19#endif /* __GNUC__ */ 19#endif /* __GNUC__ */
20
21/* David Miller <davem@caip.rutgers.edu> says vfork fails on 2.4. */
22#undef HAVE_VFORK