From be3930682a6fa118fc919afa6daab79383429e5f Mon Sep 17 00:00:00 2001 From: David Schultz Date: Sun, 25 Apr 2004 02:36:29 +0000 Subject: Hide FLT_EVAL_METHOD and DECIMAL_DIG in pre-C99 compilation environments. PR: 63935 Submitted by: Stefan Farfeleder --- sys/amd64/include/float.h | 4 ++++ 1 file changed, 4 insertions(+) (limited to 'sys/amd64/include/float.h') diff --git a/sys/amd64/include/float.h b/sys/amd64/include/float.h index 9f77ba19f3d0..4c35ed7a3373 100644 --- a/sys/amd64/include/float.h +++ b/sys/amd64/include/float.h @@ -33,10 +33,14 @@ #ifndef _MACHINE_FLOAT_H_ #define _MACHINE_FLOAT_H_ 1 +#include + #define FLT_RADIX 2 /* b */ #define FLT_ROUNDS 1 /* FP addition rounds to nearest */ +#if __ISO_C_VISIBLE >= 1999 #define FLT_EVAL_METHOD (-1) /* i387 semantics are...interesting */ #define DECIMAL_DIG 21 /* max precision in decimal digits */ +#endif #define FLT_MANT_DIG 24 /* p */ #define FLT_EPSILON 1.19209290E-07F /* b**(1-p) */ -- cgit v1.3