diff options
author | Jarkko Hietaniemi <jhi@iki.fi> | 2003-06-02 08:28:51 +0000 |
---|---|---|
committer | Jarkko Hietaniemi <jhi@iki.fi> | 2003-06-02 08:28:51 +0000 |
commit | de72a0a2f83a7d3d3d50d7d56d6f442eb3778175 (patch) | |
tree | c08fc091c87423011618c590a853d5e943a801b7 /embed.h | |
parent | 7fc811cca11d30db90c233d254557669191be8d8 (diff) | |
download | perl-de72a0a2f83a7d3d3d50d7d56d6f442eb3778175.tar.gz |
Since pulling in File::Temp for tempfiles would pull in
also Fcntl, miniperl could not open up tempfiles. This broke
the use of miniperl in VMS, as noticed by Craig Berry.
Try to cure this by moving the creation of tempfile into its
own routine, my_tmpfp(), which gets compiled differently
for miniperl and perl.
p4raw-id: //depot/perl@19656
Diffstat (limited to 'embed.h')
-rw-r--r-- | embed.h | 6 |
1 files changed, 6 insertions, 0 deletions
@@ -1244,6 +1244,9 @@ #define sv_nolocking Perl_sv_nolocking #define sv_nounlocking Perl_sv_nounlocking #define nothreadhook Perl_nothreadhook +#ifdef PERL_CORE +#define my_tmpfp Perl_my_tmpfp +#endif #if defined(PERL_IN_DOOP_C) || defined(PERL_DECL_PROT) #ifdef PERL_CORE #define do_trans_simple S_do_trans_simple @@ -3716,6 +3719,9 @@ #define sv_nolocking(a) Perl_sv_nolocking(aTHX_ a) #define sv_nounlocking(a) Perl_sv_nounlocking(aTHX_ a) #define nothreadhook() Perl_nothreadhook(aTHX) +#ifdef PERL_CORE +#define my_tmpfp() Perl_my_tmpfp(aTHX) +#endif #if defined(PERL_IN_DOOP_C) || defined(PERL_DECL_PROT) #ifdef PERL_CORE #define do_trans_simple(a) S_do_trans_simple(aTHX_ a) |