From mboxrd@z Thu Jan 1 00:00:00 1970 Received: from mailman by lists.gnu.org with tmda-scanned (Exim 4.43) id 1IWg3O-0007uR-Nn for qemu-devel@nongnu.org; Sat, 15 Sep 2007 18:23:54 -0400 Received: from exim by lists.gnu.org with spam-scanned (Exim 4.43) id 1IWg3K-0007t8-BJ for qemu-devel@nongnu.org; Sat, 15 Sep 2007 18:23:53 -0400 Received: from [199.232.76.173] (helo=monty-python.gnu.org) by lists.gnu.org with esmtp (Exim 4.43) id 1IWg3K-0007t5-5g for qemu-devel@nongnu.org; Sat, 15 Sep 2007 18:23:50 -0400 Received: from mail.gmx.net ([213.165.64.20]) by monty-python.gnu.org with smtp (Exim 4.60) (envelope-from ) id 1IWg3J-0001yo-Ms for qemu-devel@nongnu.org; Sat, 15 Sep 2007 18:23:50 -0400 Date: Sat, 15 Sep 2007 23:23:04 +0100 (BST) From: Johannes Schindelin Subject: Re: [Qemu-devel] Comment for Solaris fix for the HPTC In-Reply-To: <32504809.1189893234270.JavaMail.root@eastrmwml11> Message-ID: References: <32504809.1189893234270.JavaMail.root@eastrmwml11> MIME-Version: 1.0 Content-Type: TEXT/PLAIN; charset=US-ASCII Reply-To: qemu-devel@nongnu.org List-Id: qemu-devel.nongnu.org List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , To: Ben Taylor Cc: qemu-devel@nongnu.org Hi Ben, On Sat, 15 Sep 2007, Ben Taylor wrote: > +#ifdef __sun__ > +/* Have to define this for Solaris as ULONG_LONG_MAX is not defined > + anywhere. ULONG_MAX is correct only on _LP64 systems */ > +#define ULONG_LONG_MAX 18446744073709551615UL > +#endif > + These constants are always defined, right? So why not "#ifndef ULONG_LONG_MAX"? Ciao, Dscho