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 /examples/embedding | |
parent | 64d00511e11eed6e37134e5b43acac8a33226ca0 (diff) | |
download | micropython-4c307bfba1e5ffa3cec94bd63ba19ba6c322883b.tar.gz micropython-4c307bfba1e5ffa3cec94bd63ba19ba6c322883b.zip |
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 'examples/embedding')
-rw-r--r-- | examples/embedding/mpconfigport_minimal.h | 2 |
1 files changed, 0 insertions, 2 deletions
diff --git a/examples/embedding/mpconfigport_minimal.h b/examples/embedding/mpconfigport_minimal.h index 48d2008583..d16827fa32 100644 --- a/examples/embedding/mpconfigport_minimal.h +++ b/examples/embedding/mpconfigport_minimal.h @@ -119,8 +119,6 @@ typedef int mp_int_t; // must be pointer size typedef unsigned int mp_uint_t; // must be pointer size #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; |