Mercurial > emacs
changeset 20122:923e1f635ace
No need to include <float.h> before "lisp.h",
as the latter no longer defines DBL_DIG.
author | Paul Eggert <eggert@twinsun.com> |
---|---|
date | Thu, 23 Oct 1997 04:29:36 +0000 |
parents | 1e352b03fd8a |
children | 721fb6981822 |
files | src/data.c src/floatfns.c |
diffstat | 2 files changed, 5 insertions(+), 14 deletions(-) [+] |
line wrap: on
line diff
--- a/src/data.c Thu Oct 23 04:29:36 1997 +0000 +++ b/src/data.c Thu Oct 23 04:29:36 1997 +0000 @@ -22,14 +22,6 @@ #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 @@ #ifdef STDC_HEADERS #include <stdlib.h> +#include <float.h> #endif /* If IEEE_FLOATING_POINT isn't defined, default it from FLT_*. */
--- a/src/floatfns.c Thu Oct 23 04:29:36 1997 +0000 +++ b/src/floatfns.c Thu Oct 23 04:29:36 1997 +0000 @@ -47,17 +47,15 @@ #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 \