diff options
author | Eric Blake <ebb9@byu.net> | 2007-12-11 08:17:24 -0700 |
---|---|---|
committer | Eric Blake <ebb9@byu.net> | 2007-12-11 08:17:24 -0700 |
commit | d09c6448f632be66cf60bede1ccf30dd38aa75cb (patch) | |
tree | 41f719b5348122fdbd5318892aedecc43db09cf9 /lib/float.in.h | |
parent | 9de643e77181ef2ac2e3321baa750a6506ed9b0c (diff) | |
download | gnulib-d09c6448f632be66cf60bede1ccf30dd38aa75cb.tar.gz |
Fix OpenBSD 4.0 <float.h> 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 <ebb9@byu.net>
Diffstat (limited to 'lib/float.in.h')
-rw-r--r-- | lib/float.in.h | 2 |
1 files changed, 1 insertions, 1 deletions
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 |