[Date Prev][Date Next] [Thread Prev][Thread Next] [Date Index] [Thread Index]

Re: Netsurf build failure: 'PATH_MAX' undeclared (patch)



Guillem Jover, le dim. 06 juin 2021 23:21:52 +0200, a ecrit:
> On Sat, 2021-05-29 at 19:16:57 +0100, João Pedro Malhado wrote:
> 
> > --- netsurf-3.10.orig/libnsutils/src/time.c
> > +++ netsurf-3.10/libnsutils/src/time.c
> > @@ -16,11 +16,11 @@
> >  #include <stdlib.h>
> >  #include <unistd.h>
> >  
> > -#if (defined(_POSIX_TIMERS) && (_POSIX_TIMERS > 0) && (defined _POSIX_MONOTONIC_CLOCK)) || defined(__OpenBSD__)
> > +#if (defined(_POSIX_TIMERS) && (_POSIX_TIMERS > 0) && (defined _POSIX_MONOTONIC_CLOCK)) || defined(__OpenBSD__) || defined(__GNU__)
> 
> Does the Hurd not define _POSIX_TIMERS > 0 and _POSIX_MONOTONIC_CLOCK?

_POSIX_TIMERS, no, because we don't have everything that posix requires,
and some package builds would then break.

Samuel


Reply to: