Fix MinGW build, broken by my previous patch to add a setlocale() wrapper
Heikki Linnakangas <heikki.linnakangas@iki.fi>
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.
Files
| Path | Change | +/− |
|---|---|---|
| configure | modified | +6 −0 |
| configure.in | modified | +1 −0 |
| src/interfaces/ecpg/ecpglib/Makefile | modified | +3 −3 |
| src/port/chklocale.c | modified | +0 −106 |
| src/port/win32setlocale.c | added | +115 −0 |
| src/tools/msvc/Mkvcbuild.pm | modified | +1 −1 |