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:22:22 +0000 (13:22 +0100)
commit1c4c264aa5c58777a18df5a268cc7702cdf5c940
treea946b3d7e677506ec64b7c83059a9b786c0e45cf
parentd6c1dc176a422ed19d698bb8ff9ed7b38c04a320
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