diff options
Diffstat (limited to 'Inferno')
| -rw-r--r-- | Inferno/arm/include/lib9.h | 2 | ||||
| -rw-r--r-- | Inferno/arm/include/u.h | 4 |
2 files changed, 3 insertions, 3 deletions
diff --git a/Inferno/arm/include/lib9.h b/Inferno/arm/include/lib9.h index aa72ded4..15a0c6ea 100644 --- a/Inferno/arm/include/lib9.h +++ b/Inferno/arm/include/lib9.h @@ -5,4 +5,4 @@ * Extensions for Inferno to basic libc.h */ -#undef __LITTLE_ENDIAN /* math/dtoa.c; longs in ARM doubles are big-endian */ +#define __LITTLE_ENDIAN /* math/dtoa.c; longs in ARM doubles are big-endian */ diff --git a/Inferno/arm/include/u.h b/Inferno/arm/include/u.h index 2ab381d2..e3d6e897 100644 --- a/Inferno/arm/include/u.h +++ b/Inferno/arm/include/u.h @@ -44,9 +44,9 @@ typedef unsigned long uintptr; union FPdbleword { double x; - struct { /* big endian (on 7500) */ - ulong hi; + struct { /* little endian (on VFP and now in software) */ ulong lo; + ulong hi; }; }; |
