From d09c6448f632be66cf60bede1ccf30dd38aa75cb Mon Sep 17 00:00:00 2001 From: Eric Blake Date: Tue, 11 Dec 2007 08:17:24 -0700 Subject: Fix OpenBSD 4.0 handling of long double. * m4/float_h.m4 (gl_FLOAT_H): Also claim OpenBSD is broken. * lib/float.in.h [__OpenBSD__]: Add fixes for OpenBSD. * doc/headers/float.texi (float.h): Document OpenBSD bug. Signed-off-by: Eric Blake --- lib/float.in.h | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'lib/float.in.h') diff --git a/lib/float.in.h b/lib/float.in.h index 986719b543..2504032077 100644 --- a/lib/float.in.h +++ b/lib/float.in.h @@ -24,7 +24,7 @@ #define _GL_FLOAT_H /* 'long double' properties. */ -#if defined __i386__ && defined __BEOS__ +#if defined __i386__ && (defined __BEOS__ || defined __OpenBSD__) /* Number of mantissa units, in base FLT_RADIX. */ # undef LDBL_MANT_DIG # define LDBL_MANT_DIG 64 -- cgit v1.2.1