diff options
author | Jarkko Hietaniemi <jhi@iki.fi> | 2002-06-10 13:01:17 +0000 |
---|---|---|
committer | Jarkko Hietaniemi <jhi@iki.fi> | 2002-06-10 13:01:17 +0000 |
commit | 35fff930bfb1b63678e6d04ddf853df09dda0ce6 (patch) | |
tree | e4e9d04d5ff6885ac7ebc98253887e8aafe9b3b4 /sv.c | |
parent | 9e5b023a336559f55602e1de2a7813a7d5d82eec (diff) | |
download | perl-35fff930bfb1b63678e6d04ddf853df09dda0ce6.tar.gz |
Further patch on #17163 for Tru64.
p4raw-id: //depot/perl@17164
Diffstat (limited to 'sv.c')
-rw-r--r-- | sv.c | 14 |
1 files changed, 9 insertions, 5 deletions
@@ -7741,7 +7741,7 @@ Perl_sv_vcatpvfn(pTHX_ SV *sv, const char *pat, STRLEN patlen, va_list *args, SV /* we need a long double target in case HAS_LONG_DOUBLE but not USE_LONG_DOUBLE */ -#if defined(HAS_LONG_DOUBLE) +#if defined(HAS_LONG_DOUBLE) && LONG_DOUBLESIZE > DOUBLESIZE long double nv; #else NV nv; @@ -8277,10 +8277,14 @@ Perl_sv_vcatpvfn(pTHX_ SV *sv, const char *pat, STRLEN patlen, va_list *args, SV } /* now we need (long double) if intsize == 'q', else (double) */ - nv = args - ? intsize == 'q' - ? va_arg(*args, long double) - : va_arg(*args, double) + nv = args ? +#if LONG_DOUBLESIZE > DOUBLESIZE + intsize == 'q' ? + va_arg(*args, long double) : + va_arg(*args, double) +#else + va_arg(*args, double) +#endif : SvNVx(argsv); need = 0; |