diff options
Diffstat (limited to 'gl/fstat.c')
-rw-r--r-- | gl/fstat.c | 4 |
1 files changed, 4 insertions, 0 deletions
diff --git a/gl/fstat.c b/gl/fstat.c index 4918495bc7..ac2b1effe3 100644 --- a/gl/fstat.c +++ b/gl/fstat.c @@ -23,6 +23,10 @@ /* Get the original definition of fstat. It might be defined as a macro. */ #include <sys/types.h> #include <sys/stat.h> +#if _GL_WINDOWS_64_BIT_ST_SIZE +# define stat _stati64 +# define fstat _fstati64 +#endif #undef __need_system_sys_stat_h static inline int |