diff options
author | Fredrik Gustafsson <[email protected]> | 2013-07-11 14:39:58 +0200 |
---|---|---|
committer | Fredrik Gustafsson <[email protected]> | 2013-07-11 14:39:58 +0200 |
commit | 467cf7656742892ce964468b39649a8a5759925c (patch) | |
tree | 57b564aa1e24695fbf7be9ea3c082a5df0a19d90 /erts/emulator/beam/external.c | |
parent | 20fae602c85197ef56aa59648a6891871bb15875 (diff) | |
parent | 193639fde33e135cc390f1df13076e5632fdd43c (diff) | |
download | otp-467cf7656742892ce964468b39649a8a5759925c.tar.gz otp-467cf7656742892ce964468b39649a8a5759925c.tar.bz2 otp-467cf7656742892ce964468b39649a8a5759925c.zip |
Merge branch 'maint'
Diffstat (limited to 'erts/emulator/beam/external.c')
-rw-r--r-- | erts/emulator/beam/external.c | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/erts/emulator/beam/external.c b/erts/emulator/beam/external.c index 249b1e0923..1c88765381 100644 --- a/erts/emulator/beam/external.c +++ b/erts/emulator/beam/external.c @@ -2325,7 +2325,7 @@ enc_term_int(Process *p,ErtsAtomCacheMap *acmp, Eterm obj, byte* ep, Uint32 dfla GET_DOUBLE(obj, f); if (dflags & DFLAG_NEW_FLOATS) { *ep++ = NEW_FLOAT_EXT; -#ifdef WORDS_BIGENDIAN +#if defined(WORDS_BIGENDIAN) || defined(DOUBLE_MIDDLE_ENDIAN) put_int32(f.fw[0], ep); ep += 4; put_int32(f.fw[1], ep); @@ -2804,7 +2804,7 @@ dec_term_atom_common: volatile unsigned long *fpexnp = erts_get_current_fp_exception(); #endif -#ifdef WORDS_BIGENDIAN +#if defined(WORDS_BIGENDIAN) || defined(DOUBLE_MIDDLE_ENDIAN) ff.fw[0] = get_int32(ep); ep += 4; ff.fw[1] = get_int32(ep); |