Welcome to mirror list, hosted at ThFree Co, Russian Federation.

cygwin.com/git/newlib-cygwin.git - Unnamed repository; edit this file 'description' to name the repository.
summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorNick Clifton <nickc@redhat.com>2001-06-28 14:40:09 +0400
committerNick Clifton <nickc@redhat.com>2001-06-28 14:40:09 +0400
commit2b6b730c986a53e9e10ef22508541bdb3151a5fe (patch)
tree28b0f82b77b5a273b6fdf2b36034cb585a43a671 /newlib/libc/stdlib
parent288f125efd393633bb18277d585682f09a5a8b52 (diff)
Handle ARMs with big endian IEEE words but little endian IEEE bytes
Diffstat (limited to 'newlib/libc/stdlib')
-rw-r--r--newlib/libc/stdlib/mprec.h2
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