[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
bug#25790: SOCK_CLOEXEC and SOCK_NONBLOCK undeclared identifier errors w
From: |
Andy Wingo |
Subject: |
bug#25790: SOCK_CLOEXEC and SOCK_NONBLOCK undeclared identifier errors with 2.1.7 |
Date: |
Tue, 21 Feb 2017 22:15:27 +0100 |
User-agent: |
Gnus/5.13 (Gnus v5.13) Emacs/25.1 (gnu/linux) |
On Sun 19 Feb 2017 09:18, ilove zfs <address@hidden> writes:
> Despite the "accept4 flags. No ifdef as accept4 has a gnulib implementation"
> building 2.1.7 fails with undeclared identifier errors for SOCK_CLOEXEC and
> SOCK_NONBLOCK on
> macOS. Wrapping the relevant sections in ifdef SOCK_CLOEXEC and ifdef
> SOCK_NONBLOCK seems to work around the build failure, but I'm not sure if
> there are any problems with
> doing this, or why the build isn't correctly taking advantage of the gnulib
> accept4 implementation.
Yeah sorry about that. Fixed I think (we just don't define
SOCK_NONBLOCK et al now).
Andy