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>
> > -#endif
> > +#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
remark?

Joerg

------------------------------------------------------------------------------
This SF.net email is sponsored by 

Make an app they can't live without
Enter the BlackBerry Developer Challenge
http://p.sf.net/sfu/RIM-dev2dev 
_______________________________________________
enlightenment-devel mailing list
enlightenment-devel@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/enlightenment-devel

Reply via email to