1
Fork 0
mirror of git://git.sv.gnu.org/emacs.git synced 2026-01-30 04:10:54 -08:00

Include float.h before lisp.h.

This commit is contained in:
Richard M. Stallman 1997-07-05 03:27:25 +00:00
parent c4009c1f3d
commit 523e929122
3 changed files with 16 additions and 6 deletions

View file

@ -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

View file

@ -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

View file

@ -47,15 +47,17 @@ 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 \