Undefine setlocale() macro on Win32

Magnus Hagander <magnus@hagander.net>

Commit: 1c4c264aa5c58777a18df5a268cc7702cdf5c940
Author: Magnus Hagander <magnus@hagander.net>
Date: 2011-02-01T12:22:22Z
Releases: 9.0.4
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

Files

PathChange+/−
src/include/port.h modified +9 −0