Reported by Santiago Vila <sanvila@unex.es>.
* lib/float.in.h (GNULIB_defined_long_double_union): New macro.
+2020-12-20 Bruno Haible <bruno@clisp.org>
+
+ float: Fix compilation error when gnulib's float.h exists twice.
+ Reported by Santiago Vila <sanvila@unex.es>.
+ * lib/float.in.h (GNULIB_defined_long_double_union): New macro.
+
2020-12-19 Bruno Haible <bruno@clisp.org>
free-posix: Assume future POSIX compliance only on OpenBSD and Solaris.
extern const long double LDBL_MAX;
Unfortunately, this is not a constant expression. */
+# if !GNULIB_defined_long_double_union
union gl_long_double_union
{
struct { unsigned int lo; unsigned int hi; unsigned int exponent; } xd;
long double ld;
};
+# define GNULIB_defined_long_double_union 1
+# endif
extern const union gl_long_double_union gl_LDBL_MAX;
# define LDBL_MAX (gl_LDBL_MAX.ld)
/* Minimum e such that 10^e is in the range of normalized numbers. */