summaryrefslogtreecommitdiff
path: root/src/floatfns.c
diff options
context:
space:
mode:
authorRichard M. Stallman <rms@gnu.org>1994-05-11 00:17:44 +0000
committerRichard M. Stallman <rms@gnu.org>1994-05-11 00:17:44 +0000
commitaa595e50f8efbb62198c5134d0479fb048f4826b (patch)
tree11ce803bade50ad3d19a5de264d852e71c7e4f31 /src/floatfns.c
parent3e0f870f393780a78e20376ca422d25c8a823ba0 (diff)
downloademacs-aa595e50f8efbb62198c5134d0479fb048f4826b.tar.gz
Don't declare logb if it is a macro.
Diffstat (limited to 'src/floatfns.c')
-rw-r--r--src/floatfns.c4
1 files 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 <math.h>
/* 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. */