diff options
author | Nick Clifton <nickc@redhat.com> | 2001-06-28 10:40:09 +0000 |
---|---|---|
committer | Nick Clifton <nickc@redhat.com> | 2001-06-28 10:40:09 +0000 |
commit | 2b6b730c986a53e9e10ef22508541bdb3151a5fe (patch) | |
tree | 28b0f82b77b5a273b6fdf2b36034cb585a43a671 /newlib/libc/stdlib/mprec.h | |
parent | 288f125efd393633bb18277d585682f09a5a8b52 (diff) | |
download | cygnal-2b6b730c986a53e9e10ef22508541bdb3151a5fe.tar.gz cygnal-2b6b730c986a53e9e10ef22508541bdb3151a5fe.tar.bz2 cygnal-2b6b730c986a53e9e10ef22508541bdb3151a5fe.zip |
Handle ARMs with big endian IEEE words but little endian IEEE bytes
Diffstat (limited to 'newlib/libc/stdlib/mprec.h')
-rw-r--r-- | newlib/libc/stdlib/mprec.h | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/newlib/libc/stdlib/mprec.h b/newlib/libc/stdlib/mprec.h index 001f0c284..31d52e131 100644 --- a/newlib/libc/stdlib/mprec.h +++ b/newlib/libc/stdlib/mprec.h @@ -81,7 +81,7 @@ union double_union * An alternative that might be better on some machines is * #define Storeinc(a,b,c) (*a++ = b << 16 | c & 0xffff) */ -#if defined(IEEE_8087) + defined(VAX) +#if defined (__IEEE_BYTES_LITTLE_ENDIAN) + defined (IEEE_8087) + defined (VAX) #define Storeinc(a,b,c) (((unsigned short *)a)[1] = (unsigned short)b, \ ((unsigned short *)a)[0] = (unsigned short)c, a++) #else |