This is a live mirror of the Perl 5 development currently hosted at https://github.com/perl/perl5
perlapi: Remove per-thread section; move to real scns
[perl5.git] / dosish.h
index dff759b..1860a0f 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; USER_PROP_MUTEX_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
-#else
-#  define Stat_t struct stat
-#endif
+#define Stat_t struct _stati64
 
 /* USE_STAT_RDEV:
  *     This symbol is defined if this system has a stat structure declaring