Fix #61751. sr=brendan,r=mang. #define changes to fix floating point bug

in JavaScript on NetBSD/arm32.
This commit is contained in:
rogerl%netscape.com 2001-03-02 00:20:11 +00:00
Родитель d82bb05d90
Коммит 647b80f187
1 изменённых файлов: 1 добавлений и 1 удалений

Просмотреть файл

@ -241,7 +241,7 @@ Exactly one of IEEE_8087 or IEEE_MC68k should be defined.
* differently: the 32 bit words are in little endian byte order, the two words * differently: the 32 bit words are in little endian byte order, the two words
* are stored in big endian`s way. * are stored in big endian`s way.
*/ */
#if defined (IEEE_8087) && !defined(__arm) #if defined (IEEE_8087) && !defined(__arm) && !defined(__arm32__) && !defined(__arm26__)
#define word0(x) ((ULong *)&x)[1] #define word0(x) ((ULong *)&x)[1]
#define word1(x) ((ULong *)&x)[0] #define word1(x) ((ULong *)&x)[0]
#else #else