From: Vincent Torri <vtorri@un...> - 2010-08-25 18:32:36
On Mon, 23 Aug 2010, Joerg Sonnenberger wrote:
> On Sun, Aug 22, 2010 at 06:08:38AM +0200, Vincent Torri wrote:
>>> -#if defined (__MacOSX__) || defined (__FreeBSD__) || (defined (__MACH__) && \
>>> - defined (__APPLE__))
>>> -# include <sys/syslimits.h>
>>> +#include <limits.h>
>> Did Joerg try that on all the platforms that were in the #define ? If no,
>> revert this. I did ask people where the nedded constant were located, and
>> it was not in limits.h
> The original version before my change clearly doesn't work on POSIX
> compliant systems. For FreeBSD, sys/limits.h has been included by
> limits.h for at least 7 years and they did some header reorg at the
> time. I can't say for Darwin, but I would strongly surprised as I have
> enough code using PATH_MAX and co without ever including sys/limits.h.
> So can you demonstrate any breakage or is this just a theoretical
I was in contact with 2 mac os x users and one freebsd user. I try to
fixed the compilation, and limits.h was not sufficient.
Get latest updates about Open Source Projects, Conferences and News.