Mercurial > emacs
diff src/floatfns.c @ 4881:e53d4ae93675
Declare `logb' only if HAVE_LOGB is defined.
| author | Brian Fox <bfox@gnu.org> |
|---|---|
| date | Mon, 25 Oct 1993 04:54:54 +0000 |
| parents | 136e32c763e3 |
| children | 87f9165f5b14 |
line wrap: on
line diff
--- a/src/floatfns.c Mon Oct 25 04:53:22 1993 +0000 +++ b/src/floatfns.c Mon Oct 25 04:54:54 1993 +0000 @@ -65,10 +65,10 @@ #include <math.h> -#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. */
