diff options
| author | Eli Zaretskii | 2012-10-08 12:01:59 +0200 |
|---|---|---|
| committer | Eli Zaretskii | 2012-10-08 12:01:59 +0200 |
| commit | d424f3d8f564f64b0f44f4e240c16529ec9cf34f (patch) | |
| tree | cbe5035d7b289131ac7b0818b16ed770a1858e80 /src | |
| parent | bb84afd5709ffae6ddec82ed7b5867912e34cba5 (diff) | |
| download | emacs-d424f3d8f564f64b0f44f4e240c16529ec9cf34f.tar.gz emacs-d424f3d8f564f64b0f44f4e240c16529ec9cf34f.zip | |
Fix conditional macros in emacs.c, introduced by cygw32 addition.
src/emacs.c (DAEMON_MUST_EXEC) [HAVE_NTGUI]: Define this only on Cygwin.
Diffstat (limited to 'src')
| -rw-r--r-- | src/ChangeLog | 5 | ||||
| -rw-r--r-- | src/emacs.c | 2 |
2 files changed, 6 insertions, 1 deletions
diff --git a/src/ChangeLog b/src/ChangeLog index 2a312199512..c7c3330df30 100644 --- a/src/ChangeLog +++ b/src/ChangeLog | |||
| @@ -1,3 +1,8 @@ | |||
| 1 | 2012-10-08 Eli Zaretskii <eliz@gnu.org> | ||
| 2 | |||
| 3 | * emacs.c (DAEMON_MUST_EXEC) [HAVE_NTGUI]: Define this only on | ||
| 4 | Cygwin. | ||
| 5 | |||
| 1 | 2012-10-08 Daniel Colascione <dancol@dancol.org> | 6 | 2012-10-08 Daniel Colascione <dancol@dancol.org> |
| 2 | 7 | ||
| 3 | * xfaces.c, xdisp.c, window.c, w32xfns.c, w32term.h, w32term.c, | 8 | * 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; | |||
| 179 | We mark being in the exec'd process by a daemon name argument of | 179 | We mark being in the exec'd process by a daemon name argument of |
| 180 | form "--daemon=\nFD0,FD1\nNAME" where FD are the pipe file descriptors, | 180 | form "--daemon=\nFD0,FD1\nNAME" where FD are the pipe file descriptors, |
| 181 | NAME is the original daemon name, if any. */ | 181 | NAME is the original daemon name, if any. */ |
| 182 | #if defined (NS_IMPL_COCOA) || defined (HAVE_NTGUI) | 182 | #if defined (NS_IMPL_COCOA) || (defined (HAVE_NTGUI) && defined (CYGWIN)) |
| 183 | # define DAEMON_MUST_EXEC | 183 | # define DAEMON_MUST_EXEC |
| 184 | #endif | 184 | #endif |
| 185 | 185 | ||