diff options
author | Eli Zaretskii <eliz@gnu.org> | 2020-12-31 20:28:30 +0200 |
---|---|---|
committer | Philipp Stephani <phst@google.com> | 2021-11-11 22:00:03 +0100 |
commit | a8fc08085110de00ebcbd67b5273a755a5cb8ea1 (patch) | |
tree | 7f78b872c6c1a0ebc84c070b78c5075344a9d598 /src/callproc.c | |
parent | a60053f8368e058229721f1bf1567c2b1676b239 (diff) | |
download | emacs-a8fc08085110de00ebcbd67b5273a755a5cb8ea1.tar.gz emacs-a8fc08085110de00ebcbd67b5273a755a5cb8ea1.tar.bz2 emacs-a8fc08085110de00ebcbd67b5273a755a5cb8ea1.zip |
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.
Diffstat (limited to 'src/callproc.c')
-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 208a448135c..c949fff4db9 100644 --- a/src/callproc.c +++ b/src/callproc.c @@ -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 USABLE_POSIX_SPAWN fork_done: +#endif if (pid < 0) { eassert (0 < vfork_error); |