mirror of
https://git.savannah.gnu.org/git/emacs.git
synced 2024-11-25 07:28:20 +00:00
Move #undef HAVE_VFORK to s/sol2-3.h.
Define VFORK_RETURN_TYPE.
This commit is contained in:
parent
031f7919d8
commit
5dc2afde98
@ -6,10 +6,10 @@
|
||||
|
||||
/* Solaris 2.4 has a broken vfork. So we don't use it;
|
||||
we use the alternate definition in sysdep.c.
|
||||
But a header file has a declaration
|
||||
that conflicts with the definition of vfork in sysdep.c.
|
||||
This kludge should prevent the conflict. */
|
||||
#define pid_t int
|
||||
But a header file has a declaration
|
||||
that would conflict with the definition of vfork in sysdep.c.
|
||||
So we'll choose the return type to match the system header. */
|
||||
#define VFORK_RETURN_TYPE pid_t
|
||||
|
||||
/* Get rid of -traditional and let const really do its thing. */
|
||||
|
||||
@ -17,6 +17,3 @@
|
||||
#undef C_SWITCH_SYSTEM
|
||||
#undef const
|
||||
#endif /* __GNUC__ */
|
||||
|
||||
/* David Miller <davem@caip.rutgers.edu> says vfork fails on 2.4. */
|
||||
#undef HAVE_VFORK
|
||||
|
Loading…
Reference in New Issue
Block a user