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 /windows/mpconfigport.h | |
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 'windows/mpconfigport.h')
-rw-r--r-- | windows/mpconfigport.h | 2 |
1 files changed, 0 insertions, 2 deletions
diff --git a/windows/mpconfigport.h b/windows/mpconfigport.h index 6156ad39ef..844e2618f4 100644 --- a/windows/mpconfigport.h +++ b/windows/mpconfigport.h @@ -128,8 +128,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) - // Just assume Windows is little-endian - mingw32 gcc doesn't // define standard endianness macros. #define MP_ENDIANNESS_LITTLE (1) |