projects
/
emacs.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
cc4edea
)
Fix compilation on MS-Windows
author
Eli Zaretskii
<eliz@gnu.org>
Thu, 31 Dec 2020 18:28:30 +0000
(20:28 +0200)
committer
Philipp Stephani
<phst@google.com>
Sat, 13 Nov 2021 15:46:31 +0000
(16:46 +0100)
* 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
a8fc08085110de00ebcbd67b5273a755a5cb8ea1
)
src/callproc.c
patch
|
blob
|
history
diff --git
a/src/callproc.c
b/src/callproc.c
index 4aa24636c357c02551f3789049121806d86a0b0a..fad81694b0a061b90074ea53ffa058dca75a8199 100644
(file)
--- a/
src/callproc.c
+++ b/
src/callproc.c
@@
-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);