Fix failure of 'emacs --daemon' on Cygwin
* src/emacs.c (DAEMON_MUST_EXEC): Define unconditionally on Cygwin, not just if HAVE_NTGUI is defined. This fixes the failure of 'emacs --daemon' to start on the non-w32 Cygwin builds. (Bug#44285)
This commit is contained in:
parent
8abce5b0c6
commit
2d15296db1
1 changed files with 1 additions and 1 deletions
|
@ -171,7 +171,7 @@ static uintmax_t heap_bss_diff;
|
||||||
We mark being in the exec'd process by a daemon name argument of
|
We mark being in the exec'd process by a daemon name argument of
|
||||||
form "--daemon=\nFD0,FD1\nNAME" where FD are the pipe file descriptors,
|
form "--daemon=\nFD0,FD1\nNAME" where FD are the pipe file descriptors,
|
||||||
NAME is the original daemon name, if any. */
|
NAME is the original daemon name, if any. */
|
||||||
#if defined NS_IMPL_COCOA || (defined HAVE_NTGUI && defined CYGWIN)
|
#if defined NS_IMPL_COCOA || defined CYGWIN
|
||||||
# define DAEMON_MUST_EXEC
|
# define DAEMON_MUST_EXEC
|
||||||
#endif
|
#endif
|
||||||
|
|
||||||
|
|
Loading…
Add table
Add a link
Reference in a new issue