Hi,

At Sat, 15 Jul 2006 01:20:34 +0900,
Daniel Berger wrote in [ruby-core:08224]:
> Looking in limits.h, I see this:
> /* Maximum value an `unsigned long int' can hold.  (Minimum is 0.)  */
> #  if __WORDSIZE == 64
> #   define ULONG_MAX    18446744073709551615UL
> #  else
> #   define ULONG_MAX    4294967295UL
> #  endif
> 
> So, somehow Ruby picked up the 64 bit value.  I *am* on an AMD 64 laptop
> here, btw.  Maybe gcc is doing something funky, but attempting to
> explicitly build with -m64 fails.  It tells me 64 bits support was not
> builtin to the version of gcc that I have.  Here's the result of gcc -v:

You should see bits/resources.h.  If large file support is
enabled, rlim_t will be defined as __rlim64_t.

-- 
Nobu Nakada