Comment for Solaris fix for the HPTC
Quoted 5 lines · Andreas Schwab
Your reference to
ULONG_MAXis a red herring.ULONG_MAXis the limit for unsigned long, andULONG_LONG_MAXis the limit for unsigned long long. If your compiler does not support the long long type thenULONG_LONG_MAXshould not be defined either. Instead,vl.cshould useUINT64_MAX.
Looking at a (draft) c99 standard document, I don't find any references for an ULONG_LONG_MAX macro, anyway. The c99 <limits.h> header is supposed to define LLONG_MIN, LLONG_MAX and ULLONG_MAX for the "long long" and "unsigned long long" type limits...