diff options
author | archie <archie@FreeBSD.org> | 2002-10-31 23:05:20 +0000 |
---|---|---|
committer | archie <archie@FreeBSD.org> | 2002-10-31 23:05:20 +0000 |
commit | d93f84495b026a1b7c262a0bfe1b9c0b3175105b (patch) | |
tree | 8d7fa3106ac92267f105d9e4b9d8fad61d60e197 /lib/libc/sparc64/gen/infinity.c | |
parent | c8c942c58702c5da3dfad5e12db60c6f57cbba51 (diff) | |
download | FreeBSD-src-d93f84495b026a1b7c262a0bfe1b9c0b3175105b.zip FreeBSD-src-d93f84495b026a1b7c262a0bfe1b9c0b3175105b.tar.gz |
Re-apply the previously backed-out commit that fixes the problem where
HUGE_VAL is not properly aligned on some architectures. The previous
fix now works because the two versions of 'math.h' (include/math.h
and lib/msun/src/math.h) have since been merged into one.
PR: bin/43544
Diffstat (limited to 'lib/libc/sparc64/gen/infinity.c')
-rw-r--r-- | lib/libc/sparc64/gen/infinity.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/lib/libc/sparc64/gen/infinity.c b/lib/libc/sparc64/gen/infinity.c index 3a5cd47..4a04c1c 100644 --- a/lib/libc/sparc64/gen/infinity.c +++ b/lib/libc/sparc64/gen/infinity.c @@ -11,4 +11,4 @@ __FBSDID("$FreeBSD$"); #include <math.h> /* bytes for +Infinity on a sparc */ -char __infinity[] = { 0x7f, (char)0xf0, 0, 0, 0, 0, 0, 0 }; +const union __infinity_un __infinity = { { 0x7f, 0xf0, 0, 0, 0, 0, 0, 0 } }; |