pgsql: Fix MinGW build, broken by my previous patch to add a setlocale(

From: Heikki Linnakangas <heikki(dot)linnakangas(at)iki(dot)fi>
To: pgsql-committers(at)postgresql(dot)org
Subject: pgsql: Fix MinGW build, broken by my previous patch to add a setlocale(
Date: 2011-09-01 11:05:00
Message-ID: E1Qz54u-0006ga-My@gemulon.postgresql.org
Views: Raw Message | Whole Thread | Download mbox | Resend email
Thread:
Lists: pgsql-committers

Fix MinGW build, broken by my previous patch to add a setlocale() wrapper
on Windows. ecpglib doesn't link with libpgport, but picks and compiles
the .c files it needs individually. To cope with that, move the setlocale()
wrapper from chklocale.c to a separate setlocale.c file, and include that
in ecpglib.

Branch
------
REL9_1_STABLE

Details
-------
http://git.postgresql.org/pg/commitdiff/6952071450befb74ee0bc3c76c17de816cddfc43

Modified Files
--------------
configure | 6 ++
configure.in | 1 +
src/interfaces/ecpg/ecpglib/Makefile | 6 +-
src/port/chklocale.c | 106 -------------------------------
src/port/win32setlocale.c | 115 ++++++++++++++++++++++++++++++++++
src/tools/msvc/Mkvcbuild.pm | 2 +-
6 files changed, 126 insertions(+), 110 deletions(-)

Browse pgsql-committers by date

  From Date Subject
Next Message Bruce Momjian 2011-09-01 11:21:12 Re: pgsql: Allow more include files to be compiled in their own by adding m
Previous Message Heikki Linnakangas 2011-09-01 08:16:13 pgsql: setlocale() on Windows doesn't work correctly if the locale name