diff options
author | Jarkko Hietaniemi <jhi@iki.fi> | 2002-06-11 19:57:23 +0000 |
---|---|---|
committer | Jarkko Hietaniemi <jhi@iki.fi> | 2002-06-11 19:57:23 +0000 |
commit | 626e9072f6c36d5ac75dd1db48278a2173535ad8 (patch) | |
tree | a4b4ad3661b2a0f82f8fe3ee5ab8565da7e3d409 /ext | |
parent | 99ff1928a8afe8e25c300dae4ba848f5e2ad9cc4 (diff) | |
download | perl-626e9072f6c36d5ac75dd1db48278a2173535ad8.tar.gz |
Not that I know anything about Windows compilers
but Google leads me into believing that while Borland and
GCC support the ANSI way of printing long doubles (%L),
Visual C really doesn't support printing them.
p4raw-id: //depot/perl@17193
Diffstat (limited to 'ext')
-rw-r--r-- | ext/XS/APItest/APItest.xs | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/ext/XS/APItest/APItest.xs b/ext/XS/APItest/APItest.xs index 085198ace4..1e8ea35d01 100644 --- a/ext/XS/APItest/APItest.xs +++ b/ext/XS/APItest/APItest.xs @@ -25,7 +25,7 @@ void print_long_double() CODE: #ifdef HAS_LONG_DOUBLE -# if LONG_DOUBLESIZE > DOUBLESIZE +# if defined(PERL_PRIfldbl) && (LONG_DOUBLESIZE > DOUBLESIZE) long double val = 7.0; printf("%5.3" PERL_PRIfldbl "\n",val); # else |