Subject: Re: libc's quad support
To: Ignatios Souvatzis <is@netbsd.org>
From: Jason R Thorpe <thorpej@wasabisystems.com>
List: tech-userlevel
Date: 10/17/2002 14:07:30
On Thu, Oct 17, 2002 at 09:51:49PM +0200, Ignatios Souvatzis wrote:
> #if (sizeof(quad_t)== 8)
> Error Ooops! Quad library broken because of sizeof(quad_t) change!
> #endif
No, that won't work. You could LONG_MAX, I suppose... but why not just
use fixed-size types? On every platform we support now, and will likely
support for as long and you or I care about it, SImode == 32-bit and
DImode == 64-bit, so...
--
-- Jason R. Thorpe <thorpej@wasabisystems.com>