This is a live mirror of the Perl 5 development currently hosted at https://github.com/perl/perl5
podcheck.t: Combine duplicated code into a sub
[perl5.git] / dosish.h
index 16ee9b7..3580693 100644 (file)
--- a/dosish.h
+++ b/dosish.h
@@ -51,7 +51,8 @@
 #  define PERL_SYS_TERM_BODY()                         \
     HINTS_REFCNT_TERM; KEYWORD_PLUGIN_MUTEX_TERM;      \
     OP_CHECK_MUTEX_TERM; OP_REFCNT_TERM; PERLIO_TERM;  \
-    MALLOC_TERM; LOCALE_TERM;
+    MALLOC_TERM; LOCALE_TERM; USER_PROP_MUTEX_TERM;    \
+    ENV_TERM;
 #endif
 #define dXSUB_SYS dNOOP
 
  *     to include <sys/stat.h> and <sys/types.h> to get any typedef'ed
  *     information.
  */
-#if defined(WIN64) || defined(USE_LARGE_FILES)
-#  define Stat_t struct _stati64
-#elif defined(UNDER_CE)
-#  define Stat_t struct xcestat
+#if defined(WIN32)
+#  define Stat_t struct w32_stat
 #else
-#  define Stat_t struct stat
+#  define Stat_t struct _stati64
 #endif
 
 /* USE_STAT_RDEV: