projects
/
emacs.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
a60053f
)
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>
Thu, 11 Nov 2021 21:00:03 +0000
(22:00 +0100)
* src/callproc.c (emacs_spawn) <fork_done>: Define the label only
if USABLE_POSIX_SPAWN is defined, to avoid a compiler warning.
src/callproc.c
patch
|
blob
|
history
diff --git
a/src/callproc.c
b/src/callproc.c
index 208a448135c21e8efc538490d3aa1c47eedb5e75..c949fff4db9d66dcd588af716ac9c959f09daa9e 100644
(file)
--- 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);