Re: ULONG_MAX on Solaris

2005-12-09 Thread Simon Josefsson
Ben Pfaff <[EMAIL PROTECTED]> writes: > Simon Josefsson <[EMAIL PROTECTED]> writes: > >> has ULONG_MAX in limits.h but not in stdlib.h. I believe C89 it to be >> in stdlib.h. > > I don't think so. In a quick search through C99, I only saw > ULONG_MAX mentioned as being defined in . I don't > th

Re: ULONG_MAX on Solaris

2005-12-08 Thread Ben Pfaff
Simon Josefsson <[EMAIL PROTECTED]> writes: > has ULONG_MAX in limits.h but not in stdlib.h. I believe C89 it to be > in stdlib.h. I don't think so. In a quick search through C99, I only saw ULONG_MAX mentioned as being defined in . I don't think C89 was different. -- "[Modern] war is waged b

ULONG_MAX on Solaris

2005-12-08 Thread Simon Josefsson
Solaris: SunOS sparc-solaris1 5.9 Generic_112233-03 sun4u sparc SUNW,Ultra-60 has ULONG_MAX in limits.h but not in stdlib.h. I believe C89 it to be in stdlib.h. Could we work around this in gnulib? How? Test for ULONG_MAX in stdlib.h, and if it is not there, but it is in limits.h, include lim