1
Fork 0
mirror of git://git.sv.gnu.org/emacs.git synced 2026-01-09 13:10:57 -08:00

Fix conditional macros in emacs.c, introduced by cygw32 addition.

src/emacs.c (DAEMON_MUST_EXEC) [HAVE_NTGUI]: Define this only on Cygwin.
This commit is contained in:
Eli Zaretskii 2012-10-08 12:01:59 +02:00
parent bb84afd570
commit d424f3d8f5
2 changed files with 6 additions and 1 deletions

View file

@ -1,3 +1,8 @@
2012-10-08 Eli Zaretskii <eliz@gnu.org>
* emacs.c (DAEMON_MUST_EXEC) [HAVE_NTGUI]: Define this only on
Cygwin.
2012-10-08 Daniel Colascione <dancol@dancol.org>
* xfaces.c, xdisp.c, window.c, w32xfns.c, w32term.h, w32term.c,

View file

@ -179,7 +179,7 @@ static uprintmax_t heap_bss_diff;
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,
NAME is the original daemon name, if any. */
#if defined (NS_IMPL_COCOA) || defined (HAVE_NTGUI)
#if defined (NS_IMPL_COCOA) || (defined (HAVE_NTGUI) && defined (CYGWIN))
# define DAEMON_MUST_EXEC
#endif