cvs commit: fptools/libraries/unix/System/Posix Resource.hsc
Ross Paterson
ross at soi.city.ac.uk
Tue Mar 8 10:20:04 EST 2005
On Sat, Mar 05, 2005 at 06:32:10AM -0800, Sven Panne wrote:
> panne 2005/03/05 06:32:10 PST
>
> Modified files:
> libraries/unix/System/Posix Resource.hsc
> Log:
> Warning police (for platforms where all resource limits can be
> represented, i.e. RLIM_INFINITY == RLIM_SAVED_MAX == RLIM_SAVED_CUR)
This one breaks the Hugs build, at least with glibc 2.3.2 and gcc 3.3.5,
as /usr/include/bits/resource.h has
#ifndef __USE_FILE_OFFSET64
# define RLIM_INFINITY ((unsigned long int)(~0UL))
#else
# define RLIM_INFINITY 0xffffffffffffffffuLL
#endif
and expressions in #if's are very limited.
More information about the Cvs-libraries
mailing list