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
------
master
Details
-------
http://git.postgresql.org/pg/commitdiff/65e899b2fb0703c9685c3b185fc1bfe206cde3b4
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(-)
pgsql-committers by date
| Next: | From: Bruce Momjian | Date: 2011-09-01 11:21:12 |
| Subject: Re: pgsql: Allow more include files to be
compiled in their own by adding m |
| Previous: | From: Heikki Linnakangas | Date: 2011-09-01 08:16:13 |
| Subject: pgsql: setlocale() on Windows doesn't work correctly if the localename |