[Spread-users] Portability bug on SOLARIS 8, sparcv9 (64-bit)

Daniel Rall dlr at finemaltcoding.com
Thu Nov 7 23:35:14 EST 2002


Theo Schlossnagle <jesus at omniti.com> writes:

> On Thursday, Nov 7, 2002, at 12:46 US/Eastern, Daniel Rall wrote:
> 
> >> Luckily, determining this sort of thing at compile time is _super_
> >> easy  with autoconf.  So a solid, portable fix should be easy.
> >
> > Would it be difficult to typedef scat_element to the native iovec
> > struct?
> 
> That completely depends on what the iovec looks like.  But we can
> "try" in autoconf and if it works, use that.  If not we can call back
> to the current definition with int replaced by size_t if size_t exists
> and the current version if size_t is unavailable.

Sounds purrrfect.
-- 

Daniel Rall <dlr at finemaltcoding.com>




More information about the Spread-users mailing list