]> granicus.if.org Git - postgresql/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:28:06 +0000 (13:28 +0100)
commit666407566dfb9ab585cc66bd1c0eb5ba37e0cf30
treecf0b0741f6b6e422781a4780e0ed452e632e7a0a
parent9f37a76a1c137df627800272dd73b8ee4fff0cce
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