Re: [screen-devel] [bug #50089] Screen 4.5.0 doesn't build on SunOS

2017-01-31 Thread Amadeusz Sławiński
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

Re: [screen-devel] [bug #50089] Screen 4.5.0 doesn't build on SunOS

2017-01-30 Thread Axel Beckert
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

Re: [screen-devel] [bug #50089] Screen 4.5.0 doesn't build on SunOS

2017-01-30 Thread Alex Naumov
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?