]> code.delx.au - gnu-emacs/commitdiff
No need to include <float.h> before "lisp.h",
authorPaul Eggert <eggert@twinsun.com>
Thu, 23 Oct 1997 04:29:36 +0000 (04:29 +0000)
committerPaul Eggert <eggert@twinsun.com>
Thu, 23 Oct 1997 04:29:36 +0000 (04:29 +0000)
as the latter no longer defines DBL_DIG.

src/data.c
src/floatfns.c

index 8a3d7191f07eeaca5e320b2464b21ffd0e279c85..2479dc25106260216067e1956b09b27923bdcd26 100644 (file)
@@ -22,14 +22,6 @@ Boston, MA 02111-1307, USA.  */
 #include <signal.h>
 
 #include <config.h>
-
-/* Put this before lisp.h so that lisp.h can define DBL_DIG if not defined.  */
-#ifdef LISP_FLOAT_TYPE
-#ifdef STDC_HEADERS
-#include <float.h>
-#endif
-#endif
-
 #include "lisp.h"
 #include "puresize.h"
 #include "charset.h"
@@ -45,6 +37,7 @@ Boston, MA 02111-1307, USA.  */
 
 #ifdef STDC_HEADERS
 #include <stdlib.h>
+#include <float.h>
 #endif
 
 /* If IEEE_FLOATING_POINT isn't defined, default it from FLT_*. */
index 6c8aece417d143ad9b1e3de79272bf2c18b246ca..562ec045c199c97bd5872b8e5241100e53ee5a0f 100644 (file)
@@ -47,17 +47,15 @@ Boston, MA 02111-1307, USA.  */
 #include <signal.h>
 
 #include <config.h>
-
-/* Put this before lisp.h so that lisp.h can define DBL_DIG if not defined.  */
-#if STDC_HEADERS
-#include <float.h>
-#endif
-
 #include "lisp.h"
 #include "syssignal.h"
 
 #ifdef LISP_FLOAT_TYPE
 
+#if STDC_HEADERS
+#include <float.h>
+#endif
+
 /* If IEEE_FLOATING_POINT isn't defined, default it from FLT_*. */
 #ifndef IEEE_FLOATING_POINT
 #if (FLT_RADIX == 2 && FLT_MANT_DIG == 24 \