mirror of
git://git.sv.gnu.org/emacs.git
synced 2025-12-26 23:31:55 -08:00
Fix compilation on MS-Windows
* src/callproc.c (emacs_spawn) <fork_done>: Define the label only
if USABLE_POSIX_SPAWN is defined, to avoid a compiler warning.
(cherry picked from commit a8fc080851)
This commit is contained in:
parent
cc4edea872
commit
480241983e
1 changed files with 2 additions and 0 deletions
|
|
@ -1602,7 +1602,9 @@ emacs_spawn (pid_t *newpid, int std_in, int std_out, int std_err,
|
|||
|
||||
vfork_error = pid < 0 ? errno : 0;
|
||||
|
||||
#if USABLE_POSIX_SPAWN
|
||||
fork_done:
|
||||
#endif
|
||||
if (pid < 0)
|
||||
{
|
||||
eassert (0 < vfork_error);
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue