diff options
Diffstat (limited to 'lib/msun/src')
-rw-r--r-- | lib/msun/src/math.h | 7 |
1 files changed, 2 insertions, 5 deletions
diff --git a/lib/msun/src/math.h b/lib/msun/src/math.h index 5f7312b..108b086 100644 --- a/lib/msun/src/math.h +++ b/lib/msun/src/math.h @@ -20,11 +20,8 @@ /* * ANSI/POSIX */ -extern const union __infinity_un { - unsigned char __uc[8]; - double __ud; -} __infinity; -#define HUGE_VAL (__infinity.__ud) +extern char __infinity[]; +#define HUGE_VAL (*(double *) __infinity) /* * XOPEN/SVID |