pgsql: Undefine setlocale() macro on Win32

From: Magnus Hagander <magnus(at)hagander(dot)net>
To: pgsql-committers(at)postgresql(dot)org
Subject: pgsql: Undefine setlocale() macro on Win32
Date: 2011-02-01 12:29:31
Message-ID: E1PkFMR-0006HX-GR@gemulon.postgresql.org
Views: Whole Thread | Raw Message | Download mbox | Resend email
Thread:
Lists: pgsql-committers

Undefine setlocale() macro on Win32

New versions of libintl redefine setlocale() to a macro
which causes problems when the backend and libintl are
linked against different versions of the runtime, which
is often the case in msvc builds.

Hiroshi Inoue, slightly updated comment by me

Branch
------
REL9_0_STABLE

Details
-------
http://git.postgresql.org/gitweb?p=postgresql.git;a=commitdiff;h=1c4c264aa5c58777a18df5a268cc7702cdf5c940

Modified Files
--------------
src/include/port.h | 9 +++++++++
1 files changed, 9 insertions(+), 0 deletions(-)

Browse pgsql-committers by date

  From Date Subject
Next Message Andrew Dunstan 2011-02-01 15:07:45 pgsql: Set up PLPerl trigger data using C code instead of Perl code.
Previous Message Simon Riggs 2011-02-01 08:52:01 pgsql: Create new errcode for recovery conflict caused by db drop on ma