From 4c307bfba1e5ffa3cec94bd63ba19ba6c322883b Mon Sep 17 00:00:00 2001 From: Damien George Date: Sat, 1 Apr 2017 11:39:38 +1100 Subject: 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. --- examples/embedding/mpconfigport_minimal.h | 2 -- 1 file changed, 2 deletions(-) (limited to 'examples/embedding') diff --git a/examples/embedding/mpconfigport_minimal.h b/examples/embedding/mpconfigport_minimal.h index 48d200858..d16827fa3 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 , as it may lead to symbol name clashes #if _FILE_OFFSET_BITS == 64 && !defined(__LP64__) typedef long long mp_off_t; -- cgit v1.2.3