Subject: Re: libc's quad support
To: <>
From: Ignatios Souvatzis <>
List: tech-userlevel
Date: 10/17/2002 21:51:49
On Thu, Oct 17, 2002 at 09:29:51PM +0200, Klaus Klein wrote:
> Steve Woodford <> writes:
> > Having said that, since <sys/types.h> hard-codes quad_t as int64_t, I
> > guess I could just s/int/int32_t/g in the quad routines, and let someone
> > else deal with the fallout should sizeof quad_t change.
> I think that's the way to go.

can we check at compile time - in the quad library - for quad_t = 64bit? 
Something like:

#if (sizeof(quad_t)== 8)
Error Ooops! Quad library broken because of sizeof(quad_t) change!

seal your e-mail: