diff options
author | Damien George <damien.p.george@gmail.com> | 2017-04-01 11:39:38 +1100 |
---|---|---|
committer | Damien George <damien.p.george@gmail.com> | 2017-04-01 11:39:38 +1100 |
commit | 4c307bfba1e5ffa3cec94bd63ba19ba6c322883b (patch) | |
tree | 0ca562a561a639e2ab83e94d07f79699870c6986 /unix/mpconfigport.h | |
parent | 64d00511e11eed6e37134e5b43acac8a33226ca0 (diff) |
all: Move BYTES_PER_WORD definition from ports to py/mpconfig.h
It can still be overwritten by a port in mpconfigport.h but for almost
all cases one can use the provided default.
Diffstat (limited to 'unix/mpconfigport.h')
-rw-r--r-- | unix/mpconfigport.h | 2 |
1 files changed, 0 insertions, 2 deletions
diff --git a/unix/mpconfigport.h b/unix/mpconfigport.h index a85884594..7ecfc28c0 100644 --- a/unix/mpconfigport.h +++ b/unix/mpconfigport.h @@ -233,8 +233,6 @@ typedef unsigned int mp_uint_t; // must be pointer size #endif #endif -#define BYTES_PER_WORD sizeof(mp_int_t) - // Cannot include <sys/types.h>, as it may lead to symbol name clashes #if _FILE_OFFSET_BITS == 64 && !defined(__LP64__) typedef long long mp_off_t; |