OSDN Git Service

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:19:18 +0000 (13:19 +0100)
commit5273f2143416f6340f6ee876facfa6f7a87453a0
treef534b5c7e555e17f16da6674c426a156b6e3ef8d
parent56b21b7ae38bc1efb701e7ebfd208e2e194e7998
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