1
0
mirror of https://github.com/postgres/postgres.git synced 2025-08-09 17:03:00 +03:00

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.
This commit is contained in:
Heikki Linnakangas
2011-09-01 14:02:40 +03:00
parent 83748f3a4e
commit 6952071450
6 changed files with 126 additions and 110 deletions

View File

@@ -1374,6 +1374,7 @@ if test "$PORTNAME" = "win32"; then
AC_LIBOBJ(open)
AC_LIBOBJ(win32env)
AC_LIBOBJ(win32error)
AC_LIBOBJ(win32setlocale)
AC_DEFINE([HAVE_SYMLINK], 1,
[Define to 1 if you have the `symlink' function.])
AC_CHECK_TYPES(MINIDUMP_TYPE, [pgac_minidump_type=yes], [pgac_minidump_type=no], [