Re: ssize_t vs win64 - Mailing list pgsql-hackers

From Tom Lane
Subject Re: ssize_t vs win64
Date
Msg-id 26410.1262447997@sss.pgh.pa.us
Whole thread Raw
In response to ssize_t vs win64  (Magnus Hagander <magnus@hagander.net>)
Responses Re: ssize_t vs win64  (Magnus Hagander <magnus@hagander.net>)
List pgsql-hackers
Magnus Hagander <magnus@hagander.net> writes:
> I'm not entirely sure what the type is for, though,

It's supposed to be the same width as size_t but signed.  I would assume
that it should be 64 bits on Win64.

According to SUS this type should be provided by sys/types.h:
http://www.opengroup.org/onlinepubs/007908799/xsh/systypes.h.html
so I'm not clear why we have to provide it ourselves at all.
        regards, tom lane


pgsql-hackers by date:

Previous
From: Magnus Hagander
Date:
Subject: Re: ssize_t vs win64
Next
From: Bruce Momjian
Date:
Subject: Re: Win64 warnings about size_t