]> git.ipfire.org Git - thirdparty/postgresql.git/commit
Undefine setlocale() macro on Win32
authorMagnus Hagander <magnus@hagander.net>
Tue, 1 Feb 2011 12:19:18 +0000 (13:19 +0100)
committerMagnus Hagander <magnus@hagander.net>
Tue, 1 Feb 2011 12:22:58 +0000 (13:22 +0100)
commitff18de81123a8412c1bcce94106d2ccca69aa193
tree17eb747fa4edbeff3a292c530eebc5ad3c3e21a2
parent2da967380facb5cd0476c2692fa72588980a8a20
Undefine setlocale() macro on Win32

New versions of libintl redefine setlocale() to a macro
which causes problems when the backend and libintl are
linked against different versions of the runtime, which
is often the case in msvc builds.

Hiroshi Inoue, slightly updated comment by me
src/include/port.h