Re: MinGW versus _strtoui64() ?

From: Tom Lane <tgl(at)sss(dot)pgh(dot)pa(dot)us>
To: Petr Jelinek <petr(at)2ndquadrant(dot)com>
Cc: pgsql-hackers(at)postgresql(dot)org
Subject: Re: MinGW versus _strtoui64() ?
Date: 2016-03-13 03:35:24
Message-ID: 29927.1457840124@sss.pgh.pa.us
Views: Raw Message | Whole Thread | Download mbox | Resend email
Thread:
Lists: pgsql-hackers

Petr Jelinek <petr(at)2ndquadrant(dot)com> writes:
> On 13/03/16 04:24, Tom Lane wrote:
>> So you're thinking "#ifdef _MSC_VER"? Or something else?

> Sorry for brevity, yes, that should work, afaics mingw has strtoul so
> the code should compile fine with that ifdef. Also just checked to make
> sure, the _strtoui64 was added in VS 7.0 (the version before VS 2003) so
> should work well enough compatibility wise.

Pushed that way. Thanks for the help!

regards, tom lane

In response to

Browse pgsql-hackers by date

  From Date Subject
Next Message Matt Kelly 2016-03-13 03:46:11 Re: amcheck (B-Tree integrity checking tool)
Previous Message Petr Jelinek 2016-03-13 03:29:01 Re: MinGW versus _strtoui64() ?