X-Git-Url: https://perl5.git.perl.org/perl5.git/blobdiff_plain/abec5bedacd77b2152e61ec3216ab47bd7272fc9..9abd784741ab035d99e60097cb4e5780ca4d719d:/dosish.h diff --git a/dosish.h b/dosish.h index 2e4e745..16ee9b7 100644 --- a/dosish.h +++ b/dosish.h @@ -32,31 +32,28 @@ # define PERL_FS_VERSION STRINGIFY(PERL_REVISION) "_" \ STRINGIFY(PERL_VERSION) "_" \ STRINGIFY(PERL_SUBVERSION) -#else /* DJGPP */ -# ifdef WIN32 -# define PERL_SYS_INIT_BODY(c,v) \ - MALLOC_CHECK_TAINT2(*c,*v) Perl_win32_init(c,v); PERLIO_INIT -# define PERL_SYS_TERM_BODY() Perl_win32_term() -# define BIT_BUCKET "nul" -# else -# ifdef NETWARE -# define PERL_SYS_INIT_BODY(c,v) \ - MALLOC_CHECK_TAINT2(*c,*v) Perl_nw5_init(c,v); PERLIO_INIT -# define BIT_BUCKET "nwnul" -# else -# define PERL_SYS_INIT_BODY(c,v) \ - MALLOC_CHECK_TAINT2(*c,*v); PERLIO_INIT -# define BIT_BUCKET "\\dev\\nul" /* "wanna be like, umm, Newlined, or somethin?" */ -# endif /* NETWARE */ -# endif -#endif /* DJGPP */ +#elif defined(WIN32) +# define PERL_SYS_INIT_BODY(c,v) \ + MALLOC_CHECK_TAINT2(*c,*v) Perl_win32_init(c,v); PERLIO_INIT +# define PERL_SYS_TERM_BODY() Perl_win32_term() +# define BIT_BUCKET "nul" +#elif defined(NETWARE) +# define PERL_SYS_INIT_BODY(c,v) \ + MALLOC_CHECK_TAINT2(*c,*v) Perl_nw5_init(c,v); PERLIO_INIT +# define BIT_BUCKET "nwnul" +#else +# define PERL_SYS_INIT_BODY(c,v) \ + MALLOC_CHECK_TAINT2(*c,*v); PERLIO_INIT +# define BIT_BUCKET "\\dev\\nul" /* "wanna be like, umm, Newlined, or somethin?" */ +#endif #ifndef PERL_SYS_TERM_BODY -# define PERL_SYS_TERM_BODY() \ - HINTS_REFCNT_TERM; OP_CHECK_MUTEX_TERM; \ - OP_REFCNT_TERM; PERLIO_TERM; MALLOC_TERM +# 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; #endif -#define dXSUB_SYS +#define dXSUB_SYS dNOOP /* USEMYBINMODE * This symbol, if defined, indicates that the program should @@ -73,13 +70,11 @@ * information. */ #if defined(WIN64) || defined(USE_LARGE_FILES) -#define Stat_t struct _stati64 +# define Stat_t struct _stati64 +#elif defined(UNDER_CE) +# define Stat_t struct xcestat #else -#if defined(UNDER_CE) -#define Stat_t struct xcestat -#else -#define Stat_t struct stat -#endif +# define Stat_t struct stat #endif /* USE_STAT_RDEV: