Leave `HAVE_HUP_NOTIFICATION' undefined on GNU/Hurd.

This commit is contained in:
Ludovic Courtès 2013-07-05 22:21:04 +02:00 committed by Eelco Dolstra
parent b584a42e3d
commit 212e96f39c

View file

@ -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