1
0
mirror of https://github.com/postgres/postgres.git synced 2025-07-28 23:42:10 +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 a88b6e4cfb
commit 65e899b2fb
6 changed files with 126 additions and 110 deletions

6
configure vendored
View File

@ -21149,6 +21149,12 @@ esac
;;
esac
case " $LIBOBJS " in
*" win32setlocale.$ac_objext "* ) ;;
*) LIBOBJS="$LIBOBJS win32setlocale.$ac_objext"
;;
esac
cat >>confdefs.h <<\_ACEOF
#define HAVE_SYMLINK 1