diff options
| author | Po Lu | 2022-02-03 01:47:29 +0000 |
|---|---|---|
| committer | Po Lu | 2022-02-03 01:47:29 +0000 |
| commit | 60fe17c958bb74eab7cbabe596f2700adee8b6ce (patch) | |
| tree | 57d38a688709873211d1804ac0333224e363d4ec /src | |
| parent | aa67e10fe97fad65430780439df337ae8a463dac (diff) | |
| download | emacs-60fe17c958bb74eab7cbabe596f2700adee8b6ce.tar.gz emacs-60fe17c958bb74eab7cbabe596f2700adee8b6ce.zip | |
Fix background daemon on Haiku
* src/emacs.c (DAEMON_MUST_EXEC): Define when using the Haiku
application kit.
Diffstat (limited to 'src')
| -rw-r--r-- | src/emacs.c | 7 |
1 files changed, 5 insertions, 2 deletions
diff --git a/src/emacs.c b/src/emacs.c index 2014e97fbff..31cc2078bd3 100644 --- a/src/emacs.c +++ b/src/emacs.c | |||
| @@ -190,8 +190,11 @@ static uintmax_t heap_bss_diff; | |||
| 190 | 190 | ||
| 191 | We mark being in the exec'd process by a daemon name argument of | 191 | We mark being in the exec'd process by a daemon name argument of |
| 192 | form "--daemon=\nFD0,FD1\nNAME" where FD are the pipe file descriptors, | 192 | form "--daemon=\nFD0,FD1\nNAME" where FD are the pipe file descriptors, |
| 193 | NAME is the original daemon name, if any. */ | 193 | NAME is the original daemon name, if any. |
| 194 | #if defined NS_IMPL_COCOA || defined CYGWIN | 194 | |
| 195 | On Haiku, the table of semaphores used for looper locks doesn't | ||
| 196 | persist across forked processes. */ | ||
| 197 | #if defined NS_IMPL_COCOA || defined CYGWIN || defined HAVE_HAIKU | ||
| 195 | # define DAEMON_MUST_EXEC | 198 | # define DAEMON_MUST_EXEC |
| 196 | #endif | 199 | #endif |
| 197 | 200 | ||