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

From Michael Meskes
Subject Re: pgsql: Windows doesn't have strtok_r, so let's use strtok_s instead.
Date
Msg-id 20120218165051.GA2793@feivel.credativ.lan
Whole thread Raw
In response to Re: pgsql: Windows doesn't have strtok_r, so let's use strtok_s instead.  (Andrew Dunstan <andrew@dunslane.net>)
Responses Re: pgsql: Windows doesn't have strtok_r, so let's use strtok_s instead.  (Andrew Dunstan <andrew@dunslane.net>)
List pgsql-committers
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.

Michael
--
Michael Meskes
Michael at Fam-Meskes dot De, Michael at Meskes dot (De|Com|Net|Org)
Michael at BorussiaFan dot De, Meskes at (Debian|Postgresql) dot Org
Jabber: michael.meskes at googlemail dot com
VfL Borussia! Força Barça! Go SF 49ers! Use Debian GNU/Linux, PostgreSQL

pgsql-committers by date:

Previous
From: Andrew Dunstan
Date:
Subject: Re: pgsql: Windows doesn't have strtok_r, so let's use strtok_s instead.
Next
From: Andrew Dunstan
Date:
Subject: Re: pgsql: Windows doesn't have strtok_r, so let's use strtok_s instead.