From: Eli Zaretskii Date: Mon, 8 Oct 2012 10:01:59 +0000 (+0200) Subject: Fix conditional macros in emacs.c, introduced by cygw32 addition. X-Git-Tag: emacs-24.2.90~237^2~55 X-Git-Url: http://git.eshelyaron.com/gitweb/?a=commitdiff_plain;h=d424f3d8f564f64b0f44f4e240c16529ec9cf34f;p=emacs.git Fix conditional macros in emacs.c, introduced by cygw32 addition. src/emacs.c (DAEMON_MUST_EXEC) [HAVE_NTGUI]: Define this only on Cygwin. --- diff --git a/src/ChangeLog b/src/ChangeLog index 2a312199512..c7c3330df30 100644 --- a/src/ChangeLog +++ b/src/ChangeLog @@ -1,3 +1,8 @@ +2012-10-08 Eli Zaretskii + + * emacs.c (DAEMON_MUST_EXEC) [HAVE_NTGUI]: Define this only on + Cygwin. + 2012-10-08 Daniel Colascione * xfaces.c, xdisp.c, window.c, w32xfns.c, w32term.h, w32term.c, diff --git a/src/emacs.c b/src/emacs.c index 6cc50a23d66..0a9cc484f7a 100644 --- a/src/emacs.c +++ b/src/emacs.c @@ -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