Commit 29fd0e07 authored by Eli Zaretskii's avatar Eli Zaretskii Committed by Philipp Stephani
Browse files

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.
parent 46bdcade
......@@ -1601,7 +1601,9 @@ emacs_spawn (pid_t *newpid, int std_in, int std_out, int std_err,
vfork_error = pid < 0 ? errno : 0;
if (pid < 0)
eassert (0 < vfork_error);
Markdown is supported
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment