From 7a4720e25a6a0fcbaff7981d1c0d1ef955cf5403 Mon Sep 17 00:00:00 2001 From: "Richard M. Stallman" Date: Wed, 11 May 1994 00:17:44 +0000 Subject: [PATCH] Don't declare logb if it is a macro. --- src/floatfns.c | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/src/floatfns.c b/src/floatfns.c index 8bfb8814b6f..66eb303b1d7 100644 --- a/src/floatfns.c +++ b/src/floatfns.c @@ -73,9 +73,9 @@ Lisp_Object Qarith_error; #include /* 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. */ -- 2.39.5