freetds AT lists.ibiblio.org
Subject: FreeTDS Development Group
List archive
- From: Brian Bruns <camber AT ais.org>
- To: TDS Development Group <freetds AT franklin.oit.unc.edu>
- Subject: Re: 64-bit platforms
- Date: Fri, 10 Nov 2000 22:25:13 -0500 (EST)
There are some autoconf rules for getting the size of particular data
types. AC_CHECK_SIZEOF(x) will set $ac_cv_sizeof_x which can be check in
configure.in to set the right sizes. This will probably have wider
portability than <inttypes.h>
BTW, this is what glib does to define its types.
What do you think?
Brian
On Fri, 10 Nov 2000, Mark Schaal wrote:
> >
> > Digital Unix 4.0D does not have this header.
> >
> > I've got a couple of versions of Tru64 around here, but not installed
> > anywhere, so I can't tell you about anything newer.
> >
> > (The docs are online at Compaq's site, though.)
> >
> > Craig
>
>
> Couldn't find a reference to <inttypes.h>, but int32_t and friends
> were being used in structures from at least Tru64 5.0. Maybe
> it's just a matter of finding the header file their typedef's are
> hiding in. Care to search? Perhaps something like the following:
>
> egrep 'uint32_t;' /usr/include/*.h
> egrep 'uint32_t;' /usr/include/sys/*.h
> egrep 'uint32_t;' /usr/include/*/*.h
>
> Or you could try to trace it back from <netinet/in.h> which is
> supposed to use them in:
>
> struct sockaddr_in6 {
> uint8_t sin6_len;
>
> sa_family_t sin6_family;
> in_port_t sin6_port;
> uint32_t sin6_flowinfo
> struct in6_addr sin6_addr;
> uint32_t sin6_scope_id
> };
>
> <sigh>. I was so hoping there would be a pseudo-standard header
> file for this.
>
> Mark
> --
> Mark J. Schaal Phone: (909)
> 620-7724
> TST On Ramp Fax: (909) 620-8174
> System Administrator E-Mail: mark AT tstonramp.com
>
-
64-bit platforms,
Mark Schaal, 11/08/2000
- <Possible follow-up(s)>
- Re: 64-bit platforms, Brian Bruns, 11/09/2000
- Re: 64-bit platforms, Craig Jackson, 11/10/2000
- Re: 64-bit platforms, Mark Schaal, 11/10/2000
- Re: 64-bit platforms, Brian Bruns, 11/10/2000
- Re: 64-bit platforms, Mark Schaal, 11/10/2000
- Re: 64-bit platforms, Brian Bruns, 11/10/2000
- Re: 64-bit platforms, Craig Jackson, 11/11/2000
- Re: 64-bit platforms, James Cameron, 11/13/2000
- Re: 64-bit platforms, Mark Schaal, 11/13/2000
- Re: 64-bit platforms, Brian Bruns, 11/13/2000
Archive powered by MHonArc 2.6.24.