This is a live mirror of the Perl 5 development currently hosted at https://github.com/perl/perl5
Win32: add lstat(), fetch st_dev and st_ino and fetch st_nlink for fstat
[perl5.git] / dosish.h
index 1860a0f..3580693 100644 (file)
--- a/dosish.h
+++ b/dosish.h
  *     to include <sys/stat.h> and <sys/types.h> to get any typedef'ed
  *     information.
  */
-#define Stat_t struct _stati64
+#if defined(WIN32)
+#  define Stat_t struct w32_stat
+#else
+#  define Stat_t struct _stati64
+#endif
 
 /* USE_STAT_RDEV:
  *     This symbol is defined if this system has a stat structure declaring