diff options
| author | Brian Fox | 1993-10-25 04:54:54 +0000 |
|---|---|---|
| committer | Brian Fox | 1993-10-25 04:54:54 +0000 |
| commit | 32085e8e568c0aab59e5f7dec4f61315fa4a2964 (patch) | |
| tree | 2e13125e8eaffac61d58cca7982a581b65067abd /src | |
| parent | f4ef65c7419d633ea05dbada515d52514652ee3c (diff) | |
| download | emacs-32085e8e568c0aab59e5f7dec4f61315fa4a2964.tar.gz emacs-32085e8e568c0aab59e5f7dec4f61315fa4a2964.zip | |
Declare `logb' only if HAVE_LOGB is defined.
Diffstat (limited to 'src')
| -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; | |||
| 65 | 65 | ||
| 66 | #include <math.h> | 66 | #include <math.h> |
| 67 | 67 | ||
| 68 | #ifndef hpux | 68 | /* This declaration is omitted on some systems, like Ultrix. */ |
| 69 | /* These declarations are omitted on some systems, like Ultrix. */ | 69 | #if !defined (hpux) && defined (HAVE_LOGB) |
| 70 | extern double logb (); | 70 | extern double logb (); |
| 71 | #endif | 71 | #endif /* !hpux && HAVE_LOGB */ |
| 72 | 72 | ||
| 73 | #if defined(DOMAIN) && defined(SING) && defined(OVERFLOW) | 73 | #if defined(DOMAIN) && defined(SING) && defined(OVERFLOW) |
| 74 | /* If those are defined, then this is probably a `matherr' machine. */ | 74 | /* If those are defined, then this is probably a `matherr' machine. */ |