pgsql: Undefine setlocale() macro on Win32 - Mailing list pgsql-committers

From Magnus Hagander
Subject pgsql: Undefine setlocale() macro on Win32
Date
Msg-id E1PkFMR-0006HX-GR@gemulon.postgresql.org
Whole thread Raw
List 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(-)


pgsql-committers by date:

Previous
From: Magnus Hagander
Date:
Subject: pgsql: Undefine setlocale() macro on Win32
Next
From: Andrew Dunstan
Date:
Subject: pgsql: Set up PLPerl trigger data using C code instead of Perl code.