diff options
author | Gurusamy Sarathy <gsar@cpan.org> | 2003-05-11 15:37:14 +0000 |
---|---|---|
committer | Gurusamy Sarathy <gsar@cpan.org> | 2003-05-11 15:37:14 +0000 |
commit | 23f519f064273e3cc195f02d4e0e49cf7c9329a8 (patch) | |
tree | 9ebc17e9a7bac8e64aff728140176a475a33a76b /dosish.h | |
parent | d782915283e79abc8a89d4bd0d3f0ae9357b87bb (diff) | |
download | perl-23f519f064273e3cc195f02d4e0e49cf7c9329a8.tar.gz |
fix Embed.t failure on windows: PERL_SYS_TERM() is implemented
in terms of an exported function rather than as an inlined
macro (latter wants PL_op_mutex which isn't exported as such)
Jarkko: please merge into maint-5.8
p4raw-id: //depot/perl@19484
Diffstat (limited to 'dosish.h')
-rw-r--r-- | dosish.h | 5 |
1 files changed, 4 insertions, 1 deletions
@@ -30,6 +30,7 @@ #else /* DJGPP */ # ifdef WIN32 # define PERL_SYS_INIT(c,v) Perl_win32_init(c,v) +# define PERL_SYS_TERM() Perl_win32_term() # define BIT_BUCKET "nul" # else # ifdef NETWARE @@ -42,7 +43,9 @@ # endif #endif /* DJGPP */ -#define PERL_SYS_TERM() OP_REFCNT_TERM; MALLOC_TERM +#ifndef PERL_SYS_TERM +# define PERL_SYS_TERM() OP_REFCNT_TERM; MALLOC_TERM +#endif #define dXSUB_SYS /* |