diff options
author | Brian Fox <bfox@gnu.org> | 1993-10-25 04:54:54 +0000 |
---|---|---|
committer | Brian Fox <bfox@gnu.org> | 1993-10-25 04:54:54 +0000 |
commit | 6cc8db974a72e70a37bc1d284b949b00e93657a4 (patch) | |
tree | 1b58b4eb8318bfba9a4ebde5e1a356461c970539 /src/floatfns.c | |
parent | c366ccf60ab85d9d1171423eda08fa9f30b85781 (diff) | |
download | emacs-6cc8db974a72e70a37bc1d284b949b00e93657a4.tar.gz |
Declare `logb' only if HAVE_LOGB is defined.
Diffstat (limited to 'src/floatfns.c')
-rw-r--r-- | src/floatfns.c | 6 |
1 files changed, 3 insertions, 3 deletions
diff --git a/src/floatfns.c b/src/floatfns.c index 5cc499979f8..b31f0baee27 100644 --- a/src/floatfns.c +++ b/src/floatfns.c @@ -65,10 +65,10 @@ Lisp_Object Qarith_error; #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. */ |