HCoop
/
bpt
/
guile.git
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
|
inline
| side by side
Update Gnulib to v0.0-7509-g98a2286.
[bpt/guile.git]
/
lib
/
fstat.c
diff --git
a/lib/fstat.c
b/lib/fstat.c
index
e0ed800
..
3f49e9b
100644
(file)
--- a/
lib/fstat.c
+++ b/
lib/fstat.c
@@
-23,6
+23,12
@@
/* Get the original definition of fstat. It might be defined as a macro. */
#include <sys/types.h>
#include <sys/stat.h>
/* 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
+# 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
static inline int
#undef __need_system_sys_stat_h
static inline int