summaryrefslogtreecommitdiff
path: root/gl/fstat.c
diff options
context:
space:
mode:
authorNikos Mavrogiannopoulos <nmav@gnutls.org>2012-06-05 19:10:04 +0200
committerNikos Mavrogiannopoulos <nmav@gnutls.org>2012-06-05 19:10:04 +0200
commit75ed5f82a8b6a5f697c06feb1254152bb8b1f0ff (patch)
tree545a22b12ecce630acc5fa48d877b5898340f93e /gl/fstat.c
parenta8f5d585a2b482b3d33ce7f5e8ff2785b6ac4f8e (diff)
downloadgnutls-75ed5f82a8b6a5f697c06feb1254152bb8b1f0ff.tar.gz
updated gnulib
Diffstat (limited to 'gl/fstat.c')
-rw-r--r--gl/fstat.c4
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