From: Brian Fox Date: Mon, 25 Oct 1993 04:54:54 +0000 (+0000) Subject: Declare `logb' only if HAVE_LOGB is defined. X-Git-Tag: emacs-19.34~10970 X-Git-Url: http://git.eshelyaron.com/gitweb/?a=commitdiff_plain;h=32085e8e568c0aab59e5f7dec4f61315fa4a2964;p=emacs.git Declare `logb' only if HAVE_LOGB is defined. --- diff --git a/src/floatfns.c b/src/floatfns.c index 5cc499979f8..b31f0baee27 100644 --- a/src/floatfns.c +++ b/src/floatfns.c @@ -65,10 +65,10 @@ Lisp_Object Qarith_error; #include -#ifndef hpux -/* These declarations are omitted on some systems, like Ultrix. */ +/* This declaration is omitted on some systems, like Ultrix. */ +#if !defined (hpux) && defined (HAVE_LOGB) extern double logb (); -#endif +#endif /* !hpux && HAVE_LOGB */ #if defined(DOMAIN) && defined(SING) && defined(OVERFLOW) /* If those are defined, then this is probably a `matherr' machine. */