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

From: Michael Meskes <meskes(at)postgresql(dot)org>
To: Andrew Dunstan <andrew(at)dunslane(dot)net>
Cc: Michael Meskes <meskes(at)postgresql(dot)org>, 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 16:50:51
Message-ID: 20120218165051.GA2793@feivel.credativ.lan
Views: Raw Message | Whole Thread | Download mbox | Resend email
Thread:
Lists: 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

In response to

Responses

Browse pgsql-committers by date

  From Date Subject
Next Message Andrew Dunstan 2012-02-18 17:24:59 Re: pgsql: Windows doesn't have strtok_r, so let's use strtok_s instead.
Previous Message Andrew Dunstan 2012-02-18 16:26:30 Re: pgsql: Windows doesn't have strtok_r, so let's use strtok_s instead.