diff options
author | Björn-Egil Dahlberg <[email protected]> | 2015-06-18 11:20:53 +0200 |
---|---|---|
committer | Björn-Egil Dahlberg <[email protected]> | 2015-06-24 16:22:30 +0200 |
commit | f3a0dc2a3b2ef161b83994a374ef2a447328098e (patch) | |
tree | f90f2d7f9d5e2273d8d3f1c2f3fed753bcda22b7 /erts/lib_src | |
parent | 16b83562b0d2e9f9892744dcbf7894ef7d18a82a (diff) | |
download | otp-f3a0dc2a3b2ef161b83994a374ef2a447328098e.tar.gz otp-f3a0dc2a3b2ef161b83994a374ef2a447328098e.tar.bz2 otp-f3a0dc2a3b2ef161b83994a374ef2a447328098e.zip |
erts: Remove halfword in lib_src
Diffstat (limited to 'erts/lib_src')
-rw-r--r-- | erts/lib_src/common/erl_printf_format.c | 12 |
1 files changed, 2 insertions, 10 deletions
diff --git a/erts/lib_src/common/erl_printf_format.c b/erts/lib_src/common/erl_printf_format.c index 307680505c..9e70f4e882 100644 --- a/erts/lib_src/common/erl_printf_format.c +++ b/erts/lib_src/common/erl_printf_format.c @@ -78,15 +78,7 @@ #endif #ifndef ERTS_SIZEOF_ETERM -# ifdef HALFWORD_HEAP_EMULATOR -# if SIZEOF_VOID_P == 8 -# define ERTS_SIZEOF_ETERM 4 -# else -# error "HALFWORD_HEAP_EMULATOR only allowed on 64-bit architecture" -# endif -# else -# define ERTS_SIZEOF_ETERM SIZEOF_VOID_P -# endif +#define ERTS_SIZEOF_ETERM SIZEOF_VOID_P #endif #if defined(__GNUC__) @@ -821,7 +813,7 @@ int erts_printf_format(fmtfn_t fn, void* arg, char* fmt, va_list ap) } break; case FMTC_T: /* Eterm */ - case FMTC_R: { /* Eterm, Eterm* base (base ignored if !HALFWORD_HEAP) */ + case FMTC_R: { /* Eterm, Eterm* base */ long prec; ErlPfEterm eterm; ErlPfEterm* eterm_base; |