changeset 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 a658d0e341b1
children 8c09f87f5087
files src/floatfns.c
diffstat 1 files changed, 3 insertions(+), 3 deletions(-) [+]
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. */