autoconf
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: feature suggestion: how to figure out specific size types.


From: Keith Bostic
Subject: Re: feature suggestion: how to figure out specific size types.
Date: Tue, 22 May 2001 21:41:11 -0400 (EDT)

> From: Paul Eggert <address@hidden>
>
>> Another example are applications that are written (correctly)
>> to use ssize_t.  If the system has a size_t, but not a ssize_t,
>> to what type do you typedef the ssize_t?
>
> Most people use AC_CHECK_TYPE(ssize_t, int).  This relies on the
> autoconf 2.50 AC_CHECK_TYPE, which includes unistd.h if available.  I
> don't know of any (necessarily old and pre-POSIX) system lacking
> ssize_t where 'int' does not work.

Yes, that's what I used to use as well.

Bless their furry little hearts, Win/64 has a 64-bit size_t,
no ssize_t, and a 32-bit int.

Regards,
--keith

=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=
Keith Bostic
Sleepycat Software Inc.         address@hidden
118 Tower Rd.                   +1-781-259-3139
Lincoln, MA 01773               http://www.sleepycat.com



reply via email to

[Prev in Thread] Current Thread [Next in Thread]