diff options
author | Michael Meissner <gnu@the-meissners.org> | 2000-07-28 16:27:55 +0000 |
---|---|---|
committer | Michael Meissner <gnu@the-meissners.org> | 2000-07-28 16:27:55 +0000 |
commit | 7c110b172c257ab253d317d5ad58f4c557d9cfd9 (patch) | |
tree | d9b284c4cbeb1777d25e52a1e791e7144f87c016 /newlib/libm/math/s_infconst.c | |
parent | b7d9755e164749c429a5e00608aeb9930e1727ce (diff) | |
download | cygnal-7c110b172c257ab253d317d5ad58f4c557d9cfd9.tar.gz cygnal-7c110b172c257ab253d317d5ad58f4c557d9cfd9.tar.bz2 cygnal-7c110b172c257ab253d317d5ad58f4c557d9cfd9.zip |
Declare __infinity as an array to work around problems with small data support
Diffstat (limited to 'newlib/libm/math/s_infconst.c')
-rw-r--r-- | newlib/libm/math/s_infconst.c | 6 |
1 files changed, 3 insertions, 3 deletions
diff --git a/newlib/libm/math/s_infconst.c b/newlib/libm/math/s_infconst.c index 85b3b689c..e6b86d497 100644 --- a/newlib/libm/math/s_infconst.c +++ b/newlib/libm/math/s_infconst.c @@ -6,10 +6,10 @@ #ifndef _DOUBLE_IS_32BITS #ifdef __IEEE_BIG_ENDIAN -const union __dmath __infinity = { 0x7ff00000, 0 }; +const union __dmath __infinity[1] = {{ 0x7ff00000, 0 }}; #else -const union __dmath __infinity = { 0, 0x7ff00000 }; +const union __dmath __infinity[1] = {{ 0, 0x7ff00000 }}; #endif #else /* defined (_DOUBLE_IS_32BITS) */ -const union __dmath __infinity = { 0x7f800000, 0 }; +const union __dmath __infinity[1] = {{ 0x7f800000, 0 }}; #endif /* defined (_DOUBLE_IS_32BITS) */ |