summaryrefslogtreecommitdiff
path: root/include/my_dir.h
diff options
context:
space:
mode:
Diffstat (limited to 'include/my_dir.h')
-rw-r--r--include/my_dir.h4
1 files changed, 4 insertions, 0 deletions
diff --git a/include/my_dir.h b/include/my_dir.h
index 06509a3af19..90d708ac811 100644
--- a/include/my_dir.h
+++ b/include/my_dir.h
@@ -69,7 +69,11 @@ typedef struct my_stat
#else
+#if(_MSC_VER)
+#define MY_STAT struct _stati64 /* 64 bit file size */
+#else
#define MY_STAT struct stat /* Orginal struct have what we need */
+#endif
#endif /* USE_MY_STAT_STRUCT */