mirror of
https://github.com/micropython/micropython.git
synced 2026-01-06 04:00:28 +01:00
ports: Eliminate define of {U,}INT_FMT where redundant.
The default definition in `py/mpconfig.h` for 32-bit architectures is `%u/%d`, so these can be removed. Signed-off-by: Jeff Epler <jepler@gmail.com>
This commit is contained in:
committed by
Damien George
parent
096ff8b9ee
commit
0c8d35b322
@@ -234,8 +234,6 @@
|
||||
|
||||
// Assume that if we already defined the obj repr then we also defined these items
|
||||
#ifndef MICROPY_OBJ_REPR
|
||||
#define UINT_FMT "%u"
|
||||
#define INT_FMT "%d"
|
||||
typedef int mp_int_t; // must be pointer size
|
||||
typedef unsigned int mp_uint_t; // must be pointer size
|
||||
#endif
|
||||
|
||||
Reference in New Issue
Block a user