Fix conditional macros in emacs.c, introduced by cygw32 addition.
[bpt/emacs.git] / src / emacs.c
index 6cc50a2..0a9cc48 100644 (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