Hi,
you can also check os.h, it seems to have MAXPATHLEN definition, I
wonder if it can be used? Should probably be consolidated into one
define, depending on which solution you decide.
Amadeusz
> Hi Alex,
>
> thanks for looking into this.
>
> On Mon, Jan 30, 2017 at 11:08:53PM +0100, Alex Nau
Hi Alex,
thanks for looking into this.
On Mon, Jan 30, 2017 at 11:08:53PM +0100, Alex Naumov wrote:
> On Thu, Jan 19, 2017 at 2:04 PM, Axel Beckert wrote:
> > Of course it would be nice if this would be solved in a cleaner way for an
> > official fix.
>
> Like this?
>
> #ifndef PATH_MAX
> # if
On Thu, Jan 19, 2017 at 2:04 PM, Axel Beckert wrote:
>
> Of course it would be nice if this would be solved in a cleaner way for an
> official fix.
>
Like this?
#ifndef PATH_MAX
# ifdef _POSIX_PATH_MAX
# define PATH_MAX _POSIX_PATH_MAX
# endif
#endif
Does GNU/Hurd know about _POSIX_PATH_MAX?