[Top][All Lists]
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
Re: [Qemu-devel] Comment for Solaris fix for the HPTC
From: |
Juergen Keil |
Subject: |
Re: [Qemu-devel] Comment for Solaris fix for the HPTC |
Date: |
Mon, 17 Sep 2007 11:12:45 +0200 (CEST) |
Andreas Schwab wrote:
> Your reference to ULONG_MAX is a red herring. ULONG_MAX is the limit
> for unsigned long, and ULONG_LONG_MAX is the limit for unsigned long
> long. If your compiler does not support the long long type then
> ULONG_LONG_MAX should not be defined either. Instead, vl.c should use
> UINT64_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...