summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
-rw-r--r--byterun/floats.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/byterun/floats.c b/byterun/floats.c
index e94a4c506..c708cbe0d 100644
--- a/byterun/floats.c
+++ b/byterun/floats.c
@@ -394,7 +394,7 @@ CAMLprim value caml_classify_float(value vd)
#else
union {
double d;
-#ifdef ARCH_BIG_ENDIAN
+#if defined(ARCH_BIG_ENDIAN) || (defined(__arm__) && !defined(__ARM_EABI__))
struct { uint32 h; uint32 l; } i;
#else
struct { uint32 l; uint32 h; } i;