mirror of
https://github.com/privatevoid-net/nix-super.git
synced 2024-11-22 22:16:16 +02:00
Leave `HAVE_HUP_NOTIFICATION' undefined on GNU/Hurd.
This commit is contained in:
parent
b584a42e3d
commit
212e96f39c
1 changed files with 7 additions and 2 deletions
|
@ -25,8 +25,13 @@ using namespace nix;
|
||||||
that lack it, we only notice the disconnection the next time we try
|
that lack it, we only notice the disconnection the next time we try
|
||||||
to write to the client. So if you have a builder that never
|
to write to the client. So if you have a builder that never
|
||||||
generates output on stdout/stderr, the daemon will never notice
|
generates output on stdout/stderr, the daemon will never notice
|
||||||
that the client has disconnected until the builder terminates. */
|
that the client has disconnected until the builder terminates.
|
||||||
#ifdef O_ASYNC
|
|
||||||
|
GNU/Hurd does have O_ASYNC, but its Unix-domain socket translator
|
||||||
|
(pflocal) does not implement F_SETOWN. See
|
||||||
|
<http://lists.gnu.org/archive/html/bug-guix/2013-07/msg00021.html> for
|
||||||
|
details.*/
|
||||||
|
#if defined O_ASYNC && !defined __GNU__
|
||||||
#define HAVE_HUP_NOTIFICATION
|
#define HAVE_HUP_NOTIFICATION
|
||||||
#ifndef SIGPOLL
|
#ifndef SIGPOLL
|
||||||
#define SIGPOLL SIGIO
|
#define SIGPOLL SIGIO
|
||||||
|
|
Loading…
Reference in a new issue