Commit 523e9291 authored by Richard M. Stallman's avatar Richard M. Stallman
Browse files

Include float.h before lisp.h.

parent c4009c1f
......@@ -22,6 +22,14 @@ 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"
......@@ -36,7 +44,6 @@ Boston, MA 02111-1307, USA. */
#ifdef LISP_FLOAT_TYPE
#ifdef STDC_HEADERS
#include <float.h>
#include <stdlib.h>
#endif
......
......@@ -24,12 +24,13 @@ Boston, MA 02111-1307, USA. */
#include <config.h>
#include <stdio.h>
#include <ctype.h>
#include "lisp.h"
#if STDC_HEADERS
#include <float.h>
#endif
#include "lisp.h"
#ifndef DBL_MAX_10_EXP
#define DBL_MAX_10_EXP 308 /* IEEE double */
#endif
......
......@@ -47,15 +47,17 @@ Boston, MA 02111-1307, USA. */
#include <signal.h>
#include <config.h>
#include "lisp.h"
#include "syssignal.h"
#ifdef LISP_FLOAT_TYPE
/* 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 IEEE_FLOATING_POINT isn't defined, default it from FLT_*. */
#ifndef IEEE_FLOATING_POINT
#if (FLT_RADIX == 2 && FLT_MANT_DIG == 24 \
......
Markdown is supported
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment