[PATCH] Fix build if __GLIBC_PREREQ is not defined
Guillem Jover
guillem at hadrons.org
Tue Mar 13 01:21:39 UTC 2018
On Thu, 2018-03-08 at 17:35:51 +0100, Jörg Krause wrote:
> On Thu, 2018-03-08 at 02:21 +0100, Guillem Jover wrote:
> > When I saw your initial patch started checking the existing code and
> > noticed that it was just broken. So insted I ended up with the
> > attachment. Please let me know if that works for you, and I'll include
> > it in my next push.
>
> There is something wrong with parentheses:
>
> +#if !defined(__GLIBC__) || \
> + (defined(__GLIBC__) && (!__GLIBC_PREREQ(2, 26) || !defined(_GNU_SOURCE))
> ^
> |
> The second misses an closing round parenthesis.
Argh, right, noticed that too, but it seems I didn't send the updated
patch. :/
I'm pushing the patch then. :)
Thanks,
Guillem
More information about the libbsd
mailing list