sys_stat: Fix support for mingw64 and MSVC.
authorBruno Haible <bruno@clisp.org>
Mon, 30 Jan 2012 20:43:40 +0000 (21:43 +0100)
committerBruno Haible <bruno@clisp.org>
Mon, 30 Jan 2012 20:43:40 +0000 (21:43 +0100)
commit253e7e986ecff5d39654a22259b4e5018d71643b
tree9ff207a355dc905bd94ac2bb87e049693f7b74f4
parent21f2ead19f488624d78a0738ee8b75f320696819
sys_stat: Fix support for mingw64 and MSVC.

* lib/sys_stat.in.h (stat) [AIX]: Don't redefine 'stat' if the system
header files already do it.
(stat) [mingw, msvc]: Redefine the symbol to which stat is defined, not
stat itself.
Reported by Marc-AndrĂ© Lureau <marcandre.lureau@redhat.com>.
ChangeLog
lib/sys_stat.in.h