changeset 7448:bf93ac2d8409

Don't declare logb if it is a macro.
author Richard M. Stallman <rms@gnu.org>
date Wed, 11 May 1994 00:17:44 +0000
parents 5589126476ca
children 56e18914758f
files src/floatfns.c
diffstat 1 files changed, 2 insertions(+), 2 deletions(-) [+]
line wrap: on
line diff
--- a/src/floatfns.c	Tue May 10 23:38:17 1994 +0000
+++ b/src/floatfns.c	Wed May 11 00:17:44 1994 +0000
@@ -73,9 +73,9 @@
 #include <math.h>
 
 /* This declaration is omitted on some systems, like Ultrix.  */
-#if !defined (HPUX) && defined (HAVE_LOGB)
+#if !defined (HPUX) && defined (HAVE_LOGB) && !defined (logb)
 extern double logb ();
-#endif /* not HPUX and HAVE_LOGB */
+#endif /* not HPUX and HAVE_LOGB and no logb macro */
 
 #if defined(DOMAIN) && defined(SING) && defined(OVERFLOW)
     /* If those are defined, then this is probably a `matherr' machine. */