Skip site navigation (1) Skip section navigation (2)

Re: pgsql: Windows doesn't have strtok_r, so let's use strtok_s instead.

From: Andrew Dunstan <andrew(at)dunslane(dot)net>
To: Michael Meskes <meskes(at)postgresql(dot)org>
Cc: pgsql-committers(at)postgresql(dot)org
Subject: Re: pgsql: Windows doesn't have strtok_r, so let's use strtok_s instead.
Date: 2012-02-18 17:24:59
Message-ID: 4F3FDEEB.3000505@dunslane.net (view raw or flat)
Thread:
Lists: pgsql-committers

On 02/18/2012 11:50 AM, Michael Meskes wrote:
> On Sat, Feb 18, 2012 at 11:26:30AM -0500, Andrew Dunstan wrote:
>> I think you need a test like:
>>
>>      #if defined(WIN32)&&  ! defined(__GNUC__)
> I found WIN32_ONLY_COMPILER used elsewhere and tried that. So far I've seen no
> new red on the buildfarm.
>

Yeah, that should work too.

cheers

andrew

In response to

pgsql-committers by date

Next:From: Michael MeskesDate: 2012-02-18 17:26:17
Subject: Re: pgsql: Windows doesn't have strtok_r, so let's use strtok_s instead.
Previous:From: Michael MeskesDate: 2012-02-18 16:50:51
Subject: Re: pgsql: Windows doesn't have strtok_r, so let's use strtok_s instead.

Privacy Policy | About PostgreSQL
Copyright © 1996-2014 The PostgreSQL Global Development Group