# HG changeset patch # User Brian Fox # Date 751524894 0 # Node ID e53d4ae93675e49a872725e5ce9d7219a656d3f9 # Parent a658d0e341b1a962f533c6c782a5052b34e04ce2 Declare `logb' only if HAVE_LOGB is defined. diff -r a658d0e341b1 -r e53d4ae93675 src/floatfns.c --- 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 -#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. */