Re: ssize_t vs win64

From: Tom Lane <tgl(at)sss(dot)pgh(dot)pa(dot)us>
To: Magnus Hagander <magnus(at)hagander(dot)net>
Cc: PostgreSQL-development <pgsql-hackers(at)postgresql(dot)org>
Subject: Re: ssize_t vs win64
Date: 2010-01-02 15:59:57
Message-ID: 26410.1262447997@sss.pgh.pa.us
Views: Raw Message | Whole Thread | Download mbox | Resend email
Thread:
Lists: pgsql-hackers

Magnus Hagander <magnus(at)hagander(dot)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

In response to

Responses

Browse pgsql-hackers by date

  From Date Subject
Next Message Bruce Momjian 2010-01-02 16:06:13 Re: Win64 warnings about size_t
Previous Message Magnus Hagander 2010-01-02 15:29:43 Re: ssize_t vs win64