1
Fork 0
mirror of git://git.sv.gnu.org/emacs.git synced 2025-12-26 15:21:51 -08:00

Fix background daemon on Haiku

* src/emacs.c (DAEMON_MUST_EXEC): Define when using the Haiku
application kit.
This commit is contained in:
Po Lu 2022-02-03 01:47:29 +00:00
parent aa67e10fe9
commit 60fe17c958

View file

@ -190,8 +190,11 @@ static uintmax_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 CYGWIN
NAME is the original daemon name, if any.
On Haiku, the table of semaphores used for looper locks doesn't
persist across forked processes. */
#if defined NS_IMPL_COCOA || defined CYGWIN || defined HAVE_HAIKU
# define DAEMON_MUST_EXEC
#endif