aboutsummaryrefslogtreecommitdiffstats
path: root/src/floatfns.c
diff options
context:
space:
mode:
authorPaul Eggert1997-10-23 04:29:36 +0000
committerPaul Eggert1997-10-23 04:29:36 +0000
commit2f2615421a621debb889339e2b9e0178ec89ed1a (patch)
tree4253e290eb2e72797f19e18cc4df13dd82007590 /src/floatfns.c
parentf356c3fb99e8653757a9313f23d2ef45f7df5ac8 (diff)
downloademacs-2f2615421a621debb889339e2b9e0178ec89ed1a.tar.gz
emacs-2f2615421a621debb889339e2b9e0178ec89ed1a.zip
No need to include <float.h> before "lisp.h",
as the latter no longer defines DBL_DIG.
Diffstat (limited to 'src/floatfns.c')
-rw-r--r--src/floatfns.c10
1 files changed, 4 insertions, 6 deletions
diff --git a/src/floatfns.c b/src/floatfns.c
index 6c8aece417d..562ec045c19 100644
--- a/src/floatfns.c
+++ b/src/floatfns.c
@@ -47,17 +47,15 @@ Boston, MA 02111-1307, USA. */
47#include <signal.h> 47#include <signal.h>
48 48
49#include <config.h> 49#include <config.h>
50
51/* Put this before lisp.h so that lisp.h can define DBL_DIG if not defined. */
52#if STDC_HEADERS
53#include <float.h>
54#endif
55
56#include "lisp.h" 50#include "lisp.h"
57#include "syssignal.h" 51#include "syssignal.h"
58 52
59#ifdef LISP_FLOAT_TYPE 53#ifdef LISP_FLOAT_TYPE
60 54
55#if STDC_HEADERS
56#include <float.h>
57#endif
58
61/* If IEEE_FLOATING_POINT isn't defined, default it from FLT_*. */ 59/* If IEEE_FLOATING_POINT isn't defined, default it from FLT_*. */
62#ifndef IEEE_FLOATING_POINT 60#ifndef IEEE_FLOATING_POINT
63#if (FLT_RADIX == 2 && FLT_MANT_DIG == 24 \ 61#if (FLT_RADIX == 2 && FLT_MANT_DIG == 24 \