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
Views: Raw Message | Whole Thread | Download mbox | Resend email
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

Browse pgsql-committers by date

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