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
commit7a4720e25a6a0fcbaff7981d1c0d1ef955cf5403 (patch)
tree0de56d02409c58daca72a70c6d8ecb499fc448d5 /src/floatfns.c
parent3b91a4f4c9524d025a110b0005f13217cbbe1b7c (diff)
downloademacs-7a4720e25a6a0fcbaff7981d1c0d1ef955cf5403.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. */