diff options
Diffstat (limited to 'src/lisp.h')
| -rw-r--r-- | src/lisp.h | 9 |
1 files changed, 4 insertions, 5 deletions
diff --git a/src/lisp.h b/src/lisp.h index aaa44232720..e087828d94f 100644 --- a/src/lisp.h +++ b/src/lisp.h | |||
| @@ -4139,12 +4139,11 @@ extern bool no_site_lisp; | |||
| 4139 | /* True means put details like time stamps into builds. */ | 4139 | /* True means put details like time stamps into builds. */ |
| 4140 | extern bool build_details; | 4140 | extern bool build_details; |
| 4141 | 4141 | ||
| 4142 | /* Pipe used to send exit notification to the daemon parent at | ||
| 4143 | startup. On Windows, we use a kernel event instead. */ | ||
| 4144 | #ifndef WINDOWSNT | 4142 | #ifndef WINDOWSNT |
| 4145 | extern int daemon_pipe[2]; | 4143 | /* 0 not a daemon, 1 new-style (foreground), 2 old-style (background). */ |
| 4146 | #define IS_DAEMON (daemon_pipe[1] != 0) | 4144 | extern int daemon_type; |
| 4147 | #define DAEMON_RUNNING (daemon_pipe[1] >= 0) | 4145 | #define IS_DAEMON (daemon_type != 0) |
| 4146 | #define DAEMON_RUNNING (daemon_type >= 0) | ||
| 4148 | #else /* WINDOWSNT */ | 4147 | #else /* WINDOWSNT */ |
| 4149 | extern void *w32_daemon_event; | 4148 | extern void *w32_daemon_event; |
| 4150 | #define IS_DAEMON (w32_daemon_event != NULL) | 4149 | #define IS_DAEMON (w32_daemon_event != NULL) |