diff options
author | Eli Zaretskii <eliz@gnu.org> | 2020-12-31 20:28:30 +0200 |
---|---|---|
committer | Eli Zaretskii <eliz@gnu.org> | 2020-12-31 20:28:30 +0200 |
commit | 680052b3bcd380f862f6d4cbb6985763c55bb477 (patch) | |
tree | 96e520d43032e51d1a62c621b25a6c6dc95dd8b7 | |
parent | c28ccdff224ea5c1c7d43222fbc7df2b3e6336b5 (diff) | |
download | emacs-scratch/posix-spawn-no-gnulib.tar.gz |
Fix compilation on MS-Windowsscratch/posix-spawn-no-gnulib
* src/callproc.c (emacs_spawn) <fork_done>: Define the label only
if USABLE_POSIX_SPAWN is defined, to avoid a compiler warning.
-rw-r--r-- | src/callproc.c | 2 |
1 files changed, 2 insertions, 0 deletions
diff --git a/src/callproc.c b/src/callproc.c index cb270d47982..1b11f2d01b3 100644 --- a/src/callproc.c +++ b/src/callproc.c @@ -1563,7 +1563,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 /* Stop blocking in the parent. */ unblock_child_signal (&oldset); unblock_input (); |