Hi, Here is a small patch seris to avoid a couple of warnings on mingw64 x86_64.
The last patch is RFC, I am not satisifed with the solution, but mingw64 use a #define stat _stat64, and it's difficult to keep this type if stat() is redefined by rpl_stat(). Marc-André Lureau (4): malloca: Avoid warnings on x86_64 mingw64. accept4, fcntl, w32sock: Avoid warnings on x86_64 mingw64. select, poll, isatty: Avoid warnings on x86_64 mingw64. RFC stat: x86_64 mingw64 #define stat as _stat64. ChangeLog | 40 ++++++++++++++++++++++++++++++++++++++ lib/accept4.c | 2 +- lib/canonicalize-lgpl.c | 2 +- lib/fcntl.c | 2 +- lib/isatty.c | 4 ++- lib/malloca.c | 6 +++- lib/poll.c | 3 +- lib/readlink.c | 2 +- lib/select.c | 3 +- lib/stat.c | 2 +- lib/sys_stat.in.h | 3 +- lib/tempname.c | 2 +- lib/w32sock.h | 2 +- modules/isatty | 1 + modules/malloca | 1 + modules/poll | 1 + modules/relocatable-prog-wrapper | 1 + modules/select | 1 + 18 files changed, 65 insertions(+), 13 deletions(-) -- 1.7.7.5