diff options
author | 2013-07-03 04:46:36 +0000 | |
---|---|---|
committer | 2013-07-03 04:46:36 +0000 | |
commit | 38ffb6671a42c58f11058f1570756a541cabcd23 (patch) | |
tree | 5c316fbedc8b3c7a0d1e6dc1ee18f4294e2058ae /lib/libc/gen/modf.c | |
parent | cpio and ustar formats store times in octal fields that are 11 characters (diff) | |
download | wireguard-openbsd-38ffb6671a42c58f11058f1570756a541cabcd23.tar.xz wireguard-openbsd-38ffb6671a42c58f11058f1570756a541cabcd23.zip |
test LDBL_MANT_DIG == DBL_MANT_DIG instead of hardcoding 53.
-> test becomes meaningful on vax
No actual change, no bump
okay martynas@
Diffstat (limited to 'lib/libc/gen/modf.c')
-rw-r--r-- | lib/libc/gen/modf.c | 6 |
1 files changed, 3 insertions, 3 deletions
diff --git a/lib/libc/gen/modf.c b/lib/libc/gen/modf.c index 586ed28a49a..5c523519ba6 100644 --- a/lib/libc/gen/modf.c +++ b/lib/libc/gen/modf.c @@ -1,4 +1,4 @@ -/* $OpenBSD: modf.c,v 1.5 2013/03/28 18:09:38 martynas Exp $ */ +/* $OpenBSD: modf.c,v 1.6 2013/07/03 04:46:36 espie Exp $ */ /* $NetBSD: modf.c,v 1.1 1995/02/10 17:50:25 cgd Exp $ */ /* @@ -104,6 +104,6 @@ modf(double val, double *iptr) return (u.v); } -#if LDBL_MANT_DIG == 53 +#if LDBL_MANT_DIG == DBL_MANT_DIG __strong_alias(modfl, modf); -#endif /* LDBL_MANT_DIG == 53 */ +#endif /* LDBL_MANT_DIG == DBL_MANT_DIG */ |