summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorJarkko Hietaniemi <jhi@iki.fi>2003-04-16 08:57:01 +0000
committerJarkko Hietaniemi <jhi@iki.fi>2003-04-16 08:57:01 +0000
commit03476e8e225023314ac8982933b2825edd7b8b8c (patch)
tree35e2cb7fb143795d50a19a39fb041debb8516274
parent77bbdecc499e5311887f7b422e569a89d0378219 (diff)
downloadperl-03476e8e225023314ac8982933b2825edd7b8b8c.tar.gz
Patch from Merijn.
p4raw-id: //depot/perl@19230
-rw-r--r--perl.h12
1 files changed, 8 insertions, 4 deletions
diff --git a/perl.h b/perl.h
index d26e6f4c8f..32ce850b3e 100644
--- a/perl.h
+++ b/perl.h
@@ -1252,15 +1252,19 @@ typedef NVTYPE NV;
# ifndef HAS_MODFL_PROTO
long double modfl(long double, long double *);
# endif
-# else if defined(HAS_AINTL) && defined(HAS_COPYSIGNL)
+# else
+# if defined(HAS_AINTL) && defined(HAS_COPYSIGNL)
extern long double Perl_my_modfl(long double x, long double *ip);
-# define Perl_modf(x,y) Perl_my_modfl(x,y)
+# define Perl_modf(x,y) Perl_my_modfl(x,y)
+# endif
# endif
# ifdef HAS_FREXPL
# define Perl_frexp(x,y) frexpl(x,y)
-# else if defined(HAS_ILOGBL) && defined(HAS_SCALBNL)
+# else
+# if defined(HAS_ILOGBL) && defined(HAS_SCALBNL)
extern long double Perl_my_frexpl(long double x, int *e);
-# define Perl_frexp(x,y) Perl_my_frexpl(x,y)
+# define Perl_frexp(x,y) Perl_my_frexpl(x,y)
+# endif
# endif
# ifndef Perl_isnan
# ifdef HAS_ISNANL