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

Re: pong2 - PATH_MAX patch for review



On 6/25/2012 8:39 AM, Samuel Thibault wrote:
> Barry deFreese, le Tue 19 Jun 2012 23:20:04 -0400, a écrit :
>> +#ifdef __linux__
>>  #include <linux/limits.h>
>> +#endif
> 
> Better check that it simply works on Linux with <limits.h> instead of
> <linux/limits.h>
> 
> Samuel
> 

Samuel,

Do you mean something like:

#ifdef _LIBC_LIMITS_H_
  #include <limits.h>
#endif

??

Thanks,

Barry


Reply to: