diff options
Diffstat (limited to 'gl/fstat.c')
-rw-r--r-- | gl/fstat.c | 2 |
1 files changed, 2 insertions, 0 deletions
diff --git a/gl/fstat.c b/gl/fstat.c index ac2b1effe3..6d5f5c2b6f 100644 --- a/gl/fstat.c +++ b/gl/fstat.c @@ -24,7 +24,9 @@ #include <sys/types.h> #include <sys/stat.h> #if _GL_WINDOWS_64_BIT_ST_SIZE +# undef stat /* avoid warning on mingw64 with _FILE_OFFSET_BITS=64 */ # define stat _stati64 +# undef fstat /* avoid warning on mingw64 with _FILE_OFFSET_BITS=64 */ # define fstat _fstati64 #endif #undef __need_system_sys_stat_h |