Mercurial > emacs
diff src/floatfns.c @ 18627:c372b7e6669b
Include float.h before lisp.h.
author | Richard M. Stallman <rms@gnu.org> |
---|---|
date | Sat, 05 Jul 1997 03:27:25 +0000 |
parents | bfa27111d35b |
children | cad2a27d4451 |
line wrap: on
line diff
--- a/src/floatfns.c Sat Jul 05 03:19:16 1997 +0000 +++ b/src/floatfns.c Sat Jul 05 03:27:25 1997 +0000 @@ -47,15 +47,17 @@ #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 \