The header file float.h is part of the standard C library, so we can
assume it is always available. This header file also isn't included in the
sfio build when `_SFBINARY` is defined, resulting in a failed build.
The checks defining `_hdr_float` are removed and <float.h> is only
included were required in lib/sfio: in sfputd.c
# define _sys_types 1
#endif
-#ifdef HAVE_FLOAT_H
-# define _hdr_float 1
-#endif
-
#ifdef HAVE_SYS_TYPES_H
# define _sys_types 1
#endif
lib qldexp
hdr unistd
-hdr float
lib atexit
lib onexit
#undef _hdr_vfork
#undef _sys_vfork
#undef _lib_vfork
-#undef _hdr_float
#undef _hdr_math
#undef _sys_mman
#undef _hdr_mman
#include <math.h>
#endif
-#if _hdr_float
-#include <float.h>
-#endif
-
#if !defined(_ast_fltmax_double)
#if defined(_lib_qfrexp) && _lib_qldexp
#include "sfhdr.h"
+#include <float.h>
+
/* Write out a floating point value in a portable format
**
** Written by Kiem-Phong Vo.
#define _sys_time 1 /* #include <sys/time.h> ok */
#define _hdr_math 1 /* #include <math.h> ok */
//#define _hdr_unistd 1 /* #include <unistd.h> ok */
-#define _hdr_float 1 /* #include <float.h> ok */
#define _lib_atexit 1 /* atexit() in default lib(s) */
#define _lib_ftruncate 0 /* ftruncate() in default lib(s) */
#define _lib_lseek64 1 /* lseek64() in default lib(s) */